/* Базовый сброс */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter';
    
}

:root {
    --color-red: #E00;
    --color-white: #FFF;
    --color-black: #000;
    --color-text: #444444;
}

body {
    letter-spacing: 0.001rem;
    font-size:16px;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    overflow-x: hidden; /* Глобальная защита от горизонтального скролла */
    color: var(--color-text);
}

h1 , .h1 {
color:var(--color-white);
font-weight: 500;
font-size: 30px;
text-transform: uppercase;
}
 .h1b {
color:var(--color-text);
font-weight: 400;
font-size: 28px;;
}

.max-width {
max-width:1440px;
margin: 50px auto;
padding:20px;
}

.responsive-img {
  width: 100%;
  height: 100%;
  
}

/* --- Секция Героя --- */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 50rem; /* dvh (dynamic viewport height) исключает прыжки UI на мобильных */
    display: flex;
    align-items: center; /* Центрируем по вертикали без margin-top */
    padding: 2rem;
    overflow: hidden; 
}

/* Фон с размытием */
.hero-section::before {
    content: '';
    position: absolute;
    /* inset заменяет top, left, right, bottom. Отрицательное значение растягивает слой за пределы контейнера, скрывая размытые края */
    inset: -5%; 
    z-index: -1;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)),
        url('../theme/img/start/slider.webp');
    background-size: cover;
    background-position: center;
    filter: blur(5px);
}

/* Ограничитель ширины контента */
.hero-container {
    width: 100%;
    max-width: 1440px;
    margin-inline: auto; /* Современный аналог margin: 0 auto */
}

/* --- Типографика и элементы --- */
.hero-title {
    font-family: "Gilroy-ExtraBold", system-ui, sans-serif;
    font-size: clamp(36px, 8vw, 80px); /* Уменьшил с 48 до 36px */
    max-width: clamp(280px, 70%, 580px);
    font-weight: 800;
    line-height: 1.1; /* Пропорциональный line-height лучше clamp() для текста в несколько строк */
    color: #FFF;
  text-transform: uppercase;
    max-width: clamp(370px, 70%, 580px);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

 

.hero-desc {
    font-family: "Gilroy-Light", 'Inter', sans-serif;
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 2.5rem;
    max-width: 600px;
    color: #e2e8f0;
}

 
.hero-button:hover {
    background-color: #2563eb;
}
.hera-a {
   
    color: #e2e8f0;
}
.hera-a span{
   
    color: var(--color-red);
}













/*******************
ÐšÐ½Ð¾Ð¿ÐºÐ°
********************/

.btn-red, .btn-redb {
      text-transform: uppercase;
    text-decoration: none;
display: inline-flex;
align-items: center;
justify-content: center;
--skew: -7deg;
position: relative;
 
padding: 15px 35px;
background: none;
border: none;
border-radius: 10px;
color: var(--color-white);
font-weight: 500;
cursor: pointer;
isolation: isolate;
transition: color .25s ease;
}

.btn-red:hover{
--skew: 7deg;
color: var(--color-red);
}

.btn-redb:hover{
--skew: 7deg;
color: var(--color-white);
}
.btn-red::before, .btn-redb::before{
content: "";
position: absolute;
inset: 0;
background-color: var(--color-red);
border-radius: inherit;
transform: skewX(var(--skew));
z-index: -1;
transition:
background-color .25s ease,
transform .25s ease;
}



.btn-red:hover::before{
background-color: var(--color-white);
 
}
  .btn-redb:hover::before{
background-color: #303030;
}






 




 

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: #333;
}

address {
  font-style: normal;
}

/* --- ШАПКА ДЛЯ ПК (DESKTOP) --- */
.header {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
 width:100%;
  z-index: 100;
   position: fixed;
 z-index: 999999;
  
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #000;
}

/* Навигация ПК */
.nav-list {
  display: flex;
  gap: 30px;
}

.nav-list > li {
  position: relative;
}

.nav-list a {
  display: block;
  padding: 10px 0;
  transition: color 0.3s;
}

.nav-list a:hover {
  color:var(--color-red);
}

/* Выпадающее меню ПК */
.dropdown-list {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 250px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  overflow: hidden;
  z-index: 10;
}

.dropdown-list a {
  padding: 12px 20px;
  border-bottom: 1px solid #f0f0f0;
}

.dropdown-list a:hover {
  background-color: #f9f9f9;
}

.has-dropdown:hover .dropdown-list {
  display: block;
}

.desktop-phone {
  font-weight: bold;
  white-space: nowrap;
}

/* Скрываем мобильные элементы на ПК */
.burger-checkbox,
.mobile-actions,
.mobile-menu-header,
.mobile-menu-contacts,
.menu-overlay {
  display: none;
  
}



.partners-section .card-parta {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 18px;
  min-height: 140px;
  padding: 22px;
  text-align: left;
}

.partners-section .card-parta::before {
  content: "";
  flex: 0 0 100px;
  width: 100px;
  height: 100px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.partners-section .card-parta:hover::before {
  filter: grayscale(0%);
}

@media (max-width: 575.98px) {
  .partners-section .card-parta {
    gap: 14px;
    padding: 18px;
  }

  .partners-section .card-parta::before {
    flex-basis: 78px;
    width: 78px;
    height: 78px;
  }
}

/* --- МОБИЛЬНАЯ ВЕРСИЯ --- */
@media (max-width: 992px) {
  .desktop-phone {
    display: none;
  }
  
  .mobile-actions {
    display: flex;
    align-items: center;
    gap: 20px;
  }

  .mobile-phone-icon {
    display: flex;
    align-items: center;
   color:var(--color-red);
  }

  .burger-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 102; /* Выше мобильного меню и overlay */
  }

  .burger-btn span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #333;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
  }

  /* ВЫДВИЖНАЯ ПАНЕЛЬ СЛЕВА */
  .main-nav {
    display: flex;
    flex-direction: column; /* Чтобы прижать контакты к низу */
    position: fixed;
    top: 0;
    left: -100%;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background-color: #fff;
    box-shadow: 4px 0 15px rgba(0,0,0,0.1);
    transition: left 0.4s ease-in-out;
    z-index: 101;
    overflow-y: auto;
  }

  /* Логотип внутри меню */
  .mobile-menu-header {
    display: block;
    padding: 20px;
    border-bottom: 1px solid #eee;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
    padding: 10px 20px;
  }

  .nav-list > li {
    border-bottom: 1px solid #eee;
  }

  .nav-list a {
    padding: 15px 0;
  }

  .dropdown-list {
    position: static;
    box-shadow: none;
    min-width: 100%;
    background-color: #f9f9f9;
    padding-left: 20px;
    border-radius: 0;
  }

  /* Блок контактов и соцсетей внизу меню */
  .mobile-menu-contacts {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 25px 20px;
    background-color: #fcfcfc;
    border-top: 1px solid #eee;
    margin-top: auto; /* Прижимает блок к самому низу панели */
  }

  .menu-phone {
    font-weight: bold;
    font-size: 18px;
   c
  }

  .menu-address {
    font-size: 14px;
    color: #666;
  }

  .menu-socials {
    display: flex;
    gap: 15px;
  }

  .menu-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: #eee;
    border-radius: 5px;
    font-size: 12px;
    font-weight: bold;
    transition: background 0.3s;
  }
  
  .menu-socials a:hover {
    background-color: #007bff;
    color: #fff;
  }

  /* ТЕМНЫЙ ФОН (OVERLAY) НА КЛИК ПО MAIN / ЭКРАНУ */
  .menu-overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 100; /* Под меню, но над контентом сайта */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease-in-out, visibility 0.4s;
  }

  /* ЛОГИКА АКТИВАЦИИ ПРИ ОТКРЫТИИ (CHECKBOX IS CHECKED) */
  .burger-checkbox:checked ~ .main-nav {
    left: 0; /* Показываем меню */
  }

  .burger-checkbox:checked ~ .menu-overlay {
    opacity: 1;
    visibility: visible; /* Показываем overlay. Клик по нему (по экрану) выключит чекбокс */
  }

  /* Анимация бургера в крестик */
  .burger-checkbox:checked ~ .mobile-actions .burger-btn span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
  }

  .burger-checkbox:checked ~ .mobile-actions .burger-btn span:nth-child(2) {
    opacity: 0;
  }

  .burger-checkbox:checked ~ .mobile-actions .burger-btn span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
  }
}
.w-100 {
    width: 100%;
    height: auto; /* Заставляет высоту меняться пропорционально ширине */
}
  .p-20 {
    
   padding: 20px;

  }

    p{
    
   margin-bottom: 20px;

  }

.sub-title {
      width: fit-content;
  
    display: inline-block;
    line-height: 1.2;
    color: var(--color-red);
    text-transform: uppercase;
    font-size: 14px;
    position: relative;
    padding: 8px 20px 6px;
    font-weight: 500;
    letter-spacing: 0.05em;
    background: var(--color-white);
    box-shadow: 0px 8px 19px rgba(0, 0, 0, 0.07);
    border-radius: 50px;
}


title-white, .title-black {
    /* 1. Чуть снижаем минимальный порог шрифта (с 24px до 21px) для самых узких экранов */
    /* 2. Меняем 1.7dvw на 5vw, чтобы шрифт лучше масштабировался на планшетах и мобилках */
    font-size: clamp(21px, 5vw, 42px); 
    margin: 20px 0;
    text-transform: uppercase;
    font-family: "Gilroy-Light", system-ui, -apple-system, sans-serif;
    font-weight: 100;
    
    /* 3. КРИТИЧЕСКИ ВАЖНО: Разрешаем браузеру переносить длинные слова, если они не влезают */
    overflow-wrap: break-word;
    word-break: break-word;
}

 


.title-white , .title-black {
    font-size: clamp(24px, 1.7dvw, 42px);
    margin: 20px 0 20px 0;
    text-transform: uppercase;
    font-family: "Gilroy-Light", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-weight: 100;
}

.title-white  span, .title-black span{
 
    margin: 20px 0 20px 0;
     font-family: "Gilroy-ExtraBold", system-ui, sans-serif;
    text-transform: uppercase;
  
    font-weight: 800;
}

*, *::before, *::after {
    box-sizing: inherit;
}

.nav-list .submenu-toggle {
  display: block;
  padding: 10px 0;
  color: #333;
  cursor: default;
  user-select: none;
  transition: color 0.3s;
}

.nav-list .has-dropdown:hover > .submenu-toggle {
  color: var(--color-red);
}

@media (max-width: 992px) {
  .nav-list .submenu-toggle {
    padding: 15px 0;
  }
}





.move-text {
  width: 100%;
  overflow: visible;
  padding-left: 110px; /* запас слева, чтобы текст не исчезал */
  box-sizing: border-box;
}

.move-text span {
  display: inline-block;
   text-transform: uppercase;
  white-space: nowrap;
  font-size: 16rem;
  position: absolute;
   font-family: "Gilroy-ExtraBold", system-ui, sans-serif;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.07);
  animation: textShift 4s ease-in-out infinite;
}

@keyframes textShift {
  0% {
    transform: translateX(0);
  }

  35% {
    transform: translateX(40px);
  }

  70% {
    transform: translateX(-100px);
  }

  100% {
    transform: translateX(0);
  }
}



.grid{display:grid;gap:var(--gap,0);width:100%;grid-template-columns:repeat(var(--cols,12),minmax(0,1fr));}
.grid>*{min-width:0;grid-column:span var(--span,12);}
@media(max-width:991.98px) {
.grid{grid-template-columns:repeat(var(--cols-md,12),minmax(0,1fr));}
.grid>*{grid-column:span var(--span-md,12);}
}
@media(max-width:575.98px) {
.grid{grid-template-columns:repeat(var(--cols-sm,12),minmax(0,1fr));}
.grid>*{grid-column:span var(--span-sm,var(--span-md,12));}
}



.usl {
background-color: #EAEAEA;
}







/* Настройка сетки для имитации 1px бордеров между карточками */
.services-grid {
    background-color: #FFF; 
    border: 1px solid #EAEAEA;
    border-radius: 16px;
    overflow: hidden;
    margin:40px 0;
    gap: 1px; /* Создает эффект тонких линий между карточками */
}

/* Базовые стили карточки */
.card.usl {
    background-color: #F8F9FA; /* Светло-серый фон как на скрине */
    padding: 40px;
    display: flex;
    flex-direction: column;
    position: relative; /* База для шторки */
    overflow: hidden;   /* Скрываем шторку за пределами карточки */
    isolation: isolate; /* Изолируем слои, чтобы шторка не провалилась под фон секции */
}

/* --- ЭФФЕКТ ШТОРКИ С ЕДИНОЙ ФОНОВОЙ КАРТИНКОЙ --- */
.card.usl::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1; /* Помещаем под текст, но над фоном карточки (благодаря isolation) */
    
    /* Единая картинка для всех карточек + темный градиент для контрастности текста */
    background-image: linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15)), 
                      url('../theme/img/start/block-cat.webp'); /* Укажи тут путь к своей картинке */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    /* Анимация опускания сверху вниз (100% PageSpeed, работает на GPU) */
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}

/* --- АКТИВАЦИЯ ЭФФЕКТОВ ПРИ НАВЕДЕНИИ --- */
.card.usl:hover::after {
    transform: scaleY(1); /* Опускаем шторку */
}

/* Меняем цвет текста на белый при наведении на карточку */
.card.usl:hover .usl-title,
.card.usl:hover .usl-desc {
    color: #D0D0D0;
}

/* --- МАГИЯ ИКОНОК ЧЕРЕЗ ::before --- */
.card.usl::before {
    content: '';
    display: block;
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
    background-color: var(--color-red); /* Иконка всегда остается красной */
    mask-size: contain;
    mask-position: left center;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    -webkit-mask-position: left center;
    -webkit-mask-repeat: no-repeat;
}

/* Инлайн SVG для каждой маски (максимальная оптимизация, 0 лишних запросов) */
.card.usl.icon-web::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='3' width='20' height='14' rx='2' ry='2'/%3E%3Cline x1='8' y1='21' x2='16' y2='21'/%3E%3Cline x1='12' y1='17' x2='12' y2='21'/%3E%3Cpolyline points='16 10 18 12 16 14'/%3E%3Cpolyline points='8 10 6 12 8 14'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='3' width='20' height='14' rx='2' ry='2'/%3E%3Cline x1='8' y1='21' x2='16' y2='21'/%3E%3Cline x1='12' y1='17' x2='12' y2='21'/%3E%3Cpolyline points='16 10 18 12 16 14'/%3E%3Cpolyline points='8 10 6 12 8 14'/%3E%3C/svg%3E");
}

.card.usl.icon-seo::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Ccircle cx='12' cy='12' r='6'/%3E%3Ccircle cx='12' cy='12' r='2'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Ccircle cx='12' cy='12' r='6'/%3E%3Ccircle cx='12' cy='12' r='2'/%3E%3C/svg%3E");
}

.card.usl.icon-ads::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3v18h18'/%3E%3Cpath d='M18 9l-5 5-3-3-5 5'/%3E%3Cpath d='M18 9h-4M18 9v4'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3v18h18'/%3E%3Cpath d='M18 9l-5 5-3-3-5 5'/%3E%3Cpath d='M18 9h-4M18 9v4'/%3E%3C/svg%3E");
}

.card.usl.icon-content::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='2' width='20' height='20' rx='2.18' ry='2.18'/%3E%3Cline x1='7' y1='2' x2='7' y2='22'/%3E%3Cline x1='17' y1='2' x2='17' y2='22'/%3E%3Cline x1='2' y1='12' x2='22' y2='12'/%3E%3Cline x1='2' y1='7' x2='7' y2='7'/%3E%3Cline x1='2' y1='17' x2='7' y2='17'/%3E%3Cline x1='17' y1='17' x2='22' y2='17'/%3E%3Cline x1='17' y1='7' x2='22' y2='7'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='2' width='20' height='20' rx='2.18' ry='2.18'/%3E%3Cline x1='7' y1='2' x2='7' y2='22'/%3E%3Cline x1='17' y1='2' x2='17' y2='22'/%3E%3Cline x1='2' y1='12' x2='22' y2='12'/%3E%3Cline x1='2' y1='7' x2='7' y2='7'/%3E%3Cline x1='2' y1='17' x2='7' y2='17'/%3E%3Cline x1='17' y1='17' x2='22' y2='17'/%3E%3Cline x1='17' y1='7' x2='22' y2='7'/%3E%3C/svg%3E");
}

.card.usl.icon-smm::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3C/svg%3E");
}

.card.usl.icon-design::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19l7-7 3 3-7 7-3-3z'/%3E%3Cpath d='M18 13l-1.5-7.5L2 2l3.5 14.5L13 18l5-5z'/%3E%3Cpath d='M2 2l7.586 7.586'/%3E%3Ccircle cx='11' cy='11' r='2'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19l7-7 3 3-7 7-3-3z'/%3E%3Cpath d='M18 13l-1.5-7.5L2 2l3.5 14.5L13 18l5-5z'/%3E%3Cpath d='M2 2l7.586 7.586'/%3E%3Ccircle cx='11' cy='11' r='2'/%3E%3C/svg%3E");
}

/* --- ТИПОГРАФИКА И ОФОРМЛЕНИЕ ТЕКСТА --- */

.usl-cat {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--color-red);
    margin-bottom: 8px;
    font-weight: 500;
}

.usl-cat::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--color-red);
}

.usl-title {
    font-family: "Gilroy-ExtraBold", system-ui, sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: var(--color-text);
    margin: 0 0 16px 0;
    line-height: 1.2;
    transition: color 0.3s ease; /* Добавлена плавность для смены цвета */
}

.usl-desc {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 15px;
    line-height: 1.5;
    color: var(--color-text);
    margin: 0;
    transition: color 0.3s ease; /* Добавлена плавность для смены цвета */
}










/* Базовые стили контейнера */
.pure-slider {
  position: relative;
  width: 100%;
  overflow: hidden; /* Защита от появления горизонтального скролла на странице */
  /* Значения по умолчанию, переопределяются через JS */
  --visible-slides: 1;
  --gap: 0px; 
}



@media (min-width: 768px) {
  .pure-slider[data-slides-tablet="2"] { --visible-slides: 2; }
}
@media (min-width: 1200px) {
  .pure-slider[data-slides-desktop="3"] { --visible-slides: 3; }


.blog-img-responsive {
    width: 100%;
    height: auto;
    /* Укажите пропорцию ваших картинок. Например, 1/1 для квадрата или 16/9 для прямоугольника */
    aspect-ratio: 16 / 9; 
    object-fit: cover;
    border-radius: 16px;
}



.pure-slider__track-container {
  overflow: hidden;
  width: 100%;
}

.pure-slider__track {
  display: flex;
  gap: var(--gap);
  /* Плавность переключения */
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  /* Подготовка к аппаратному ускорению */
  will-change: transform;
  /* Важно: позволяет скроллить страницу вверх/вниз прямо по слайдеру, 
     но браузер берет на себя блокировку при горизонтальном свайпе */
  touch-action: pan-y;
  user-select: none;
}

/* Состояние при захвате мышью/пальцем (отключаем плавность для следования за курсором) */
.pure-slider__track.is-dragging {
  transition: none;
  cursor: grabbing;
}

.pure-slider__slide {
  /* Формула расчета ширины слайда с учетом отступов (gap) */
  flex: 0 0 calc((100% - (var(--gap) * (var(--visible-slides) - 1))) / var(--visible-slides));
  max-width: calc((100% - (var(--gap) * (var(--visible-slides) - 1))) / var(--visible-slides));
  display: flex;
  flex-direction: column;
}

/* Запрет встроенного браузерного drag-and-drop для картинок, чтобы не ломать наш свайп */
.pure-slider__slide img {
  width: 100%;
  height: auto;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
}











/* Обёртка точек */
.pure-slider__dots {
  display: flex;
  justify-content: center;
  gap: 0; 
  min-height: 28px;
  margin-top: 16px;
}

/* Кнопка: высокая, но более узкая */
.pure-slider__dot {
  width: 28px;  /* Сузили ширину (было 48px). Теперь точки будут ближе! */
  height: 28px; /* Оставили высоту 48px для прохождения проверок Google */
  background-color: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}

/* Сама визуальная точка */
.pure-slider__dot::before {
  content: '';
  display: block;
  width: 10px; /* Чуть уменьшили точку до 10px, чтобы она смотрелась изящнее при сближении */
  height: 10px;
  border-radius: 50%;
  background-color: #d1d5db;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

/* Активная точка */
.pure-slider__dot.is-active::before {
  background-color: var(--color-red);
  transform: scale(1.2); /* Активная точка будет чуть крупнее */
}
  
  .blk { background-image: linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15)), 
                      url('../theme/img/start/block-cat.webp'); /* Укажи тут путь к своей картинке */
                    color:#D0D0D0;}








  /* 1. РОДИТЕЛЬСКИЙ БЛОК (Контейнер для текста и картинки) */
/* Задаем эти свойства всем блокам, где нужен такой эффект */
.card-parta, 
.card-part, 
.card-part1, 
.card-part2, 
.card-part3 {
  display: flex;
  align-items: center; /* Центрируем текст и картинку по вертикали */
  gap: 15px; /* Задаем расстояние между картинкой и текстом */
}


.card-parta::before, 
.card-part::before, 
.card-part1::before, 
.card-part2::before, 
.card-part3::before {
  content: ""; 
  display: block; 
  flex-shrink: 0; 
  
  width: 120px; 
  height: 120px;
  
  background-size: contain; 
  background-repeat: no-repeat;
  background-position: center; 
  
  /* Делаем черно-белым по умолчанию */
  filter: grayscale(100%);
  
  /* Добавляем плавную анимацию возвращения цвета (0.3 секунды) */
  transition: filter 0.3s ease; 
}

/* 3. ХОВЕР-ЭФФЕКТ ДЛЯ КАРТИНОК */
/* Когда мы наводим мышку на сам блок (.card-part), меняем фильтр у его ::before */
.card-parta:hover::before, 
.card-part:hover::before, 
.card-part1:hover::before, 
.card-part2:hover::before, 
.card-part3:hover::before {
  filter: grayscale(0%); /* 0% полностью возвращает цвет */
}
/* 3. ИНДИВИДУАЛЬНЫЕ ФОНЫ ДЛЯ КАЖДОГО БЛОКА */
.card-part::before {
  background-image: url('../theme/img/icons/good-ya.svg');
}

.card-part1::before {
  background-image: url('../theme/img/icons/good-el.svg');
}

.card-part2::before {
  background-image: url('../theme/img/icons/good-modx.svg');
}

.card-part3::before {
  background-image: url('../theme/img/icons/good-iso.svg');
}


.whitegrey {
  color: #D0D0D0;
}




 



.parallax-section {
  /* 1. Задаем высоту блока, чтобы было видно фон */
  min-height: 400px; 
  
  /* 2. Подключаем картинку */
  background-image: url('../theme/img/start/service-bg.webp');
  
  /* 3. ГЛАВНАЯ МАГИЯ ПАРАЛЛАКСА */
  background-attachment: fixed; /* Фиксирует фон относительно окна браузера */
  
  /* 4. Настраиваем отображение фона */
  background-position: center; /* Центрируем картинку */
  background-repeat: no-repeat; /* Запрещаем дублирование */
  background-size: cover; /* Растягиваем на весь блок, сохраняя пропорции */
  
  /* Опционально: центрируем текст внутри блока, как мы делали ранее */
 
 
}

/* 1. РОДИТЕЛЬСКИЙ БЛОК */
.framed-block {
  position: relative; /* Обязательно! Создает систему координат для ::before и ::after */
  z-index: 1; /* Создаем контекст наложения */
  
  /* Добавляем внутренние отступы, чтобы текст не ложился поверх ваших фоновых картинок */
  padding-top: 120px; 
  padding-bottom: 120px; 
}

/* 2. ОБЩИЕ СТИЛИ ДЛЯ ОБОИХ ПСЕВДОЭЛЕМЕНТОВ */
.framed-block::before,
.framed-block::after {
  content: "";
  position: absolute;
  left: 0; /* Растягиваем по горизонтали от левого края... */
  width: 100%; /* ...на всю ширину блока */
  
  height: 100px; /* Задайте нужную высоту вашего фона */
  
  z-index: -1; /* Прячем фоны ПОД текст, чтобы они его не перекрывали */
  
  background-size: cover; /* Или contain, если важно, чтобы картинка влезла целиком */
  background-repeat: no-repeat;
}

/* 3. ВЕРХНИЙ ФОН (ПРИЖАТ К ВЕРХУ) */
.framed-block::before {
  top: 0; /* Прижимаем к самому верху */
  background-image: url('../theme/img/start/sec-shape-top.webp');
  background-position: top center; /* Выравниваем фон по верхнему краю */
}

/* 4. НИЖНИЙ ФОН (ПРИЖАТ К НИЗУ) */
.framed-block::after {
  bottom: 0; /* Прижимаем к самому низу */
  background-image: url('../theme/img/start/sec-shape-bottom.webp');
  background-position: bottom center; /* Выравниваем фон по нижнему краю */
}


/* Основной контейнер внутри слайда */
.slide-content {
  display: flex;
  flex-direction: column; 
  gap: 16px; 
  padding: 20px; 
    color: #D0D0D0;  
  background-color:rgba(0, 0, 0, 0.75); 
  border-radius: 8px; 
  height: 100%;
}

/* Верхняя часть слайда */
.slide-top {
  display: flex;
  justify-content: space-between; 
  align-items: center; /* Центрируем по вертикали, чтобы текст и кружок стояли ровно */
  width: 100%;
}

/* === СТИЛИ ДЛЯ КРУЖКА С НОМЕРОМ === */
.slide-circle-number {
  display: flex;
  justify-content: center; /* Центрирует цифру по горизонтали */
  align-items: center;     /* Центрирует цифру по вертикали */
  width: 40px;             /* Ширина кружка */
  height: 40px;            /* Высота кружка (должна быть равна ширине) */
  border-radius: 16px;      /* Превращает квадрат в идеальный круг */
  background-color: #333;  /* Цвет фона кружка (замените на свой) */
  color: #D0D0D0;             /* Цвет самой цифры */
  font-weight: bold;
  font-size: 1.2rem;
  flex-shrink: 0;          /* Запрещает кружку сжиматься, если текста справа слишком много */
}

/* Стили для текста (справа) */
.slide-text-right {
  text-align: left;

   color: #D0D0D0;  
}
/* Стили для абзаца */
.slide-paragraph {
  margin: 0;
   
  font-size: 1rem;
  font-width: 700;
  line-height: 1.5;
  color: #D0D0D0;  
}

/* Верхняя часть слайда */
.slide-top {
  display: flex;
  justify-content: flex-start; /* Прижимаем все элементы к левому краю */
  align-items: center;         /* Центрируем по вертикали */
  gap: 20px;                   /* Задаем жесткий отступ в 20px между кружком и текстом */
  width: 100%;
}

/* Стили для кружка (остаются без изменений) */
.slide-circle-number {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #333;
  color: #fff;
  font-weight: bold;
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* Обновленные стили для текста */
.slide-title {
  text-align: left; /* Выравнивание текста по левому краю */
  font-weight: 500;
  font-family: "Gilroy-ExtraBold";
 font-weight: 800;
     color: #c; 
  margin: 0;        /* На всякий случай убираем внешние отступы */
}

 















.seo-faq-container {

  margin: 0 auto;

}

.seo-faq-container h2 {
  text-align: center;
  margin-bottom: 24px;
  color: #333;
   
}

.faq-item {
  
  padding: 3px;
  
}

.faq-item:first-of-type {
   
}

/* Стилизация самого вопроса */
.faq-question {
      background-color: rgba(0, 0, 0, 1);
      
  font-size: 1.1rem;
  font-weight: bold;
  color: #D0D0D0;
  padding:16px;
  cursor: pointer;
  list-style: none; /* Убираем стандартный маркер */
  position: relative;
   transition: color 0.3s ease;
}

/* Кастомная стрелочка через псевдоэлемент для красоты */
.faq-question::after {
  content: "+";

  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  transition: transform 0.3s ease;
}

/* Убираем дефолтные маркеры в Webkit */
.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question:hover {
background-color: var(--color-red);
   color:#D0D0D0;
}

/* Анимация стрелочки при открытии */
.faq-item[open] .faq-question::after {
  content: "−";
 
  transform: translateY(-50%) rotate(180deg);
}

/* Стилизация ответа */
.faq-answer {
    background-color: rgba(0, 0, 0, 0.75);

  padding: 12px;
color:#BEBEBE;
  line-height: 1.6;
}






 .bg-element {
  /* Краткая и самая удобная запись: url, позиция / размер, повторение */
  background: url('../theme/img/start/wcu_1-2.webp') center/cover no-repeat;
  border-radius: 16px; ;
  /* Задайте высоту, если блок пустой, иначе фон не будет видно */
  min-height: 300px; 
}











/* Добавляем relative для родителя, чтобы карточка позиционировалась внутри него */
.bg-element {
  position: relative;
  /* Если у блока нет контента, обязательно задайте ему минимальную высоту */
  min-height: 500px; 
}

.card {
  display: inline-block;
}

.card1 {
  /* Позиционирование в правом нижнем углу */
  position: absolute;
  right: -20px; /* Слегка выносим за правый край для красоты (можно поставить 0) */
  bottom: 30px; /* Отступ снизу */
  z-index: 10;
  
  border-radius: 7px;
  width: 250px;
  color: var(--color-white);
  background: var(--color-red);
  min-height: 100px;
  padding: 15px 20px 15px 120px;
  box-sizing: border-box;
  animation: float-corner 3s ease-in-out infinite;
}

.card1 div {
  color: var(--color-white);
  font-weight: 700;
  font-size: 50px;
  font-family: "Gilroy-ExtraBold", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

/* Иконка */
.card1::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 84px;
  height: 84px;
  filter: brightness(0) saturate(100%) invert(78%) sepia(98%) saturate(749%) hue-rotate(2deg) brightness(103%) contrast(103%);
  background: url("../theme/img/icons/wcu1.svg") no-repeat center / contain;
  z-index: 2;
  pointer-events: none;
}

/* Вертикальная полоса */
.card1::after {
  content: "";
  position: absolute;
  left: 104px;
  top: 10%;
  bottom: 10%;
  width: 2px;
  background: var(--color-white);
  z-index: 2;
}

/* Обновленная анимация для нижнего правого угла */
@keyframes float-corner {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); } /* Блок слегка "подпрыгивает" вверх */
}

.overlay img {
  width: 96%;
  border-radius: 12px;
}

/* Адаптация для планшетов и мобильных устройств (ширина экрана 768px и меньше) */
@media (max-width: 768px) {
  .card1 {
    right: 10px; /* Убираем отрицательный отступ, ставим аккуратный отступ от правого края */
    bottom: 15px; /* Чуть прижимаем ниже */
    width: 210px; /* Делаем карточку чуть уже */
    min-height: 80px;
    padding: 10px 15px 10px 85px; /* Уменьшаем внутренние отступы (особенно слева под иконку) */
  }

  .card1 div {
    font-size: 38px; /* Уменьшаем размер главных цифр "20+" */
  }

  /* Масштабируем иконку под новые размеры */
  .card1::before {
    left: 10px;
    width: 60px;
    height: 60px;
  }

  /* Сдвигаем вертикальную белую полосу */
  .card1::after {
    left: 77px;
  }
}

/* Дополнительная адаптация для совсем узких экранов (ширина 400px и меньше, например iPhone SE) */
@media (max-width: 400px) {
  .card1 {
    right: 50%; 
    transform: translateX(50%); /* Центрируем блок снизу, если экран совсем маленький */
    bottom: 10px;
    /* Если используете центрирование, нужно обновить анимацию, чтобы transform не перезаписывался */
    animation: float-center-mobile 3s ease-in-out infinite;
  }
}

/* Специальная анимация для центрированного мобильного блока */
@keyframes float-center-mobile {
  0%, 100% { transform: translateX(50%) translateY(0); }
  50% { transform: translateX(50%) translateY(-10px); }
}




 .box {
    background: var(--color-text);
    padding: 20px;
    border-radius: 16px;


  }
  .boox {
align-self: flex-start; margin: 20px 0;

  }

.faq-link {
  font-weight: 300;
    color: #BEBEBE;
    font-size: 20px; /* Было font-width: 24px; */  
}




a.pure-slider__slide {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    -webkit-user-drag: none;
    user-drag: none;
    -webkit-user-select: none;
    user-select: none;
    
    /* === Фикс вылезания за пределы === */
    box-sizing: border-box;
    min-width: 0; /* Критически важно: не дает тексту распирать слайд шириной */
    overflow: hidden; /* Прячет все, что пытается сломать контейнер */
}

a.pure-slider__slide.box:hover {
    filter: brightness(1.1);
    transition: filter 0.3s ease;
}














/* --- ОСНОВНОЙ БЛОК И ФОН --- */
.consultation-section {
  position: relative;
  isolation: isolate; /* Изолируем контекст наложения для фона */
  padding: 80px 0;
  overflow: hidden;
  background-color: #1a1a1a; /* Резервный цвет */
}

/* Фоновая картинка (код) с темным оверлеем */
.consultation-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: 
    linear-gradient(rgba(20, 20, 20, 0.85), rgba(20, 20, 20, 0.85)),
    url('../theme/img/start/bg-call.webp'); /* Замените на путь к вашему фону с кодом */
  background-size: cover;
  background-position: center;
}

/* --- ОБЕРТКА И АВАТАРКА --- */
.consultation-wrapper {
  display: flex;
  align-items: center;
  gap: 60px;
}

/* Аватарка специалиста выведена через ::before у Flex-контейнера */
.consultation-wrapper::before {
  content: "";
  display: block;
  flex-shrink: 0;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  border: 2px solid var(--color-white, #FFF);
  background: url('../theme/img/start/manager.webp') center/cover no-repeat; /* Путь к фото */
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* --- КОНТЕНТНАЯ ЧАСТЬ --- */
.consultation-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.consultation-info .title-white {
  color: var(--color-white, #FFF);
  margin-top: 16px;
  margin-bottom: 32px;
  line-height: 1.2;
}

.consultation-actions {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}

/* --- ТЕЛЕФОН С ИКОНКОЙ --- */
.consultation-phone {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 64px;
  text-decoration: none;
  color: var(--color-white, #FFF);
  min-height: 50px;
}

/* Белый круг и красная иконка трубки (через data:image SVG) */
.consultation-phone::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background-color: var(--color-white, #FFF);
  border-radius: 50%;
  /* Инлайн SVG-иконка красного цвета (экономим HTTP-запросы) */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23E00'%3E%3Cpath d='M20.01 15.38c-1.23 0-2.42-.2-3.53-.56a.977.977 0 0 0-1.01.24l-1.57 1.97c-2.83-1.35-5.48-3.9-6.89-6.83l1.95-1.66c.27-.28.35-.67.24-1.02-.37-1.11-.56-2.3-.56-3.53 0-.54-.45-.99-.99-.99H4.19C3.65 3 3 3.24 3 3.99 3 13.28 10.73 21 20.01 21c.71 0 .99-.63.99-1.18v-3.45c0-.54-.45-.99-.99-.99z'/%3E%3C/svg%3E");
  background-size: 22px;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.3s ease;
}

.consultation-phone:hover::before {
  transform: translateY(-50%) scale(1.05);
}

.phone-label {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #D0D0D0; /* Цвет из вашей дизайн-системы */
  margin-bottom: 2px;
}

.phone-value {
  font-size: 20px;
  font-family: "Gilroy-ExtraBold", system-ui, sans-serif;
  font-weight: 800;
  color: var(--color-white, #FFF);
}

/* --- АДАПТИВ (RESPONSIVE) --- */
@media (max-width: 992px) {
  .consultation-wrapper {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  /* Уменьшаем аватар на планшетах */
  .consultation-wrapper::before {
    width: 180px;
    height: 180px;
  }

  .consultation-info {
    align-items: center;
  }
  
  .consultation-actions {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .consultation-section {
    padding: 60px 0;
  }

  /* Центрируем заголовок и кнопки на смартфонах */
  .consultation-actions {
    flex-direction: column;
    gap: 24px;
    width: 100%;
  }

  .consultation-info .title-white {
    font-size: clamp(24px, 5vw, 32px); /* Защита от переполнения текста */
  }

  .consultation-phone {
    align-items: center;
    padding-left: 0;
    padding-top: 60px; /* Переносим иконку наверх */
  }

  .consultation-phone::before {
    left: 50%;
    top: 0;
    transform: translateX(-50%);
  }
  
  .consultation-phone:hover::before {
    transform: translateX(-50%) scale(1.05);
  }
}


  .max-width-mn {
    max-width: 1440px;
    margin:10px auto;
    padding: 20px ;
  }






/* Не создаёт контейнер прокрутки, мешающий position: sticky */
html,
body {
  overflow-x: clip;
}

/* Не растягиваем колонки до одинаковой высоты */
.blog-grid-container {
  align-items: start;
  overflow: visible;
}

.sticky-column {
  position: sticky;
  top: 100px; /* отступ от верхнего края */
  align-self: start;
  height: fit-content;
}

/* На мобильных залипание обычно не требуется */
@media (max-width: 767px) {
  .sticky-column {
    position: static;
  }
}

.photo {
  display: block; /* Ссылка должна вести себя как блочный элемент */
  width: 100%;
  height: 100%; /* Укажите нужную высоту */
  background-image: url('../theme/img/start/office.webp');
  background-size: cover; /* Изображение заполнит весь блок без искажения пропорций */
  background-position: center; /* Центрируем изображение */
  background-repeat: no-repeat; /* Запрещаем повторение фона */
}

  /* --- КАРТОЧКА БЛОГА --- */
.blog-card {
 line-height: 1.8;  gap: 20px;
  background-color: #F8F9FA; /* Светло-серый фон, как у услуг */
  padding: 36px;
  border-radius: 16px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.blog-card:hover {
  background-color: #EAEAEA;
  transform: translateY(-2px);
}

/* Картинка */
.blog-card__image {
  flex: 0 0 160px; /* Фиксированная ширина картинки на ПК */
  height: 160px;
  border-radius: 12px;
  overflow: hidden;
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Изображение будет заполнять блок без искажений пропорций */
  display: block;
}

/* Контейнер с текстом */
.blog-card__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  
  justify-content: flex-start;
}

/* Ярлык категории (белая плашка с красным квадратом) */
.blog-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-red);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
  background: var(--color-white);
  padding: 6px 16px;
  border-radius: 50px;
  align-self: flex-start; /* Чтобы плашка не растягивалась на всю ширину */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); /* Легкая тень как на макете */
}

/* Красный квадрат перед текстом категории */
.blog-label::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--color-red);
}

/* Заголовок карточки */
.blog-card__title {
  font-family: "Gilroy-ExtraBold", system-ui, sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--color-text);
  margin: 0;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.blog-card:hover .blog-card__title {
  color: var(--color-red); /* Легкий акцент при наведении */
}

/* Описание */
.blog-card__desc {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #666; /* Чуть светлее основного текста для контраста с заголовком */
  margin: 0;
  
  /* Обрезка текста, если он слишком длинный (оставляем 3 строки) */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --- АДАПТИВНОСТЬ --- */
@media (max-width: 575.98px) {
  .blog-card {
    flex-direction: column; /* Перестраиваем картинку над текстом */
    padding: 20px;
    gap: 16px;
  }
  
  .blog-card__image {
    flex: auto;
    width: 100%;
    height: 200px; /* Увеличиваем высоту картинки для мобильных */
  }
}




/* --- НАСТРОЙКА ЛИПКОГО БЛОКА --- */

.blog-grid-container {
  /* Расстояние между левой и правой колонками */
  gap: 40px; 
}



.blog-grid-container,
.sticky-column,
.blog-list-column,
.blog-card,
.blog-card__content {
  min-width: 0;
  max-width: 100%;
}

.sticky-column .title-black,
.blog-card__title,
.blog-card__desc,
.blog-label,
.fc-value {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
}

@media (max-width: 991.98px) {
  .blog-grid-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    overflow: hidden;
  }

  .blog-grid-container > * {
    grid-column: 1 / -1 !important;
    width: 100%;
    max-width: 100%;
  }

  .sticky-column {
    position: static !important;
    top: auto !important;
    align-self: stretch;
    margin-bottom: 10px;
  }

  .sticky-column .title-black {
    font-size: clamp(24px, 7vw, 32px) !important;
    line-height: 1.12;
    white-space: normal !important;
  }

  .sticky-column .title-black span {
    display: inline;
    white-space: normal;
  }

  .blog-list-column {
    width: 100%;
    overflow: hidden;
  }

  .blog-card {
    width: 100%;
    overflow: hidden;
  }

  .blog-card__content {
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .max-width {
    width: 100%;
    max-width: 100%;
    padding-inline: 16px;
  }

  .blog-card {
    flex-direction: column;
    padding: 16px;
    gap: 14px;
  }

  .blog-card__image {
    flex: 0 0 auto;
    width: 100%;
    height: 190px;
  }

  .footer-contact {
    min-width: 0;
    max-width: 100%;
    gap: 14px;
  }

  .fc-text {
    min-width: 0;
  }

  .fc-value {
    font-size: 16px;
    line-height: 1.25;
  }
}

.sticky-column {
  /* Делаем блок "липким" */
  position: sticky;
  
  /* Отступ сверху, когда блок прилипнет. 
     Учитываем вашу фиксированную шапку (header). 
     Если шапка занимает ~80px, ставим с запасом 100-120px */
  top: 120px; 
  
  /* КРИТИЧНО ВАЖНО: без align-self: start липкость в CSS Grid не сработает, 
     так как колонка растянется по высоте правой колонки */
  align-self: start; 
  
  display: flex;
  flex-direction: column;
}

.sticky-column p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.sticky-column h2 {
  margin-bottom: 24px; /* Отступ после заголовка */
}

/* --- ПРАВАЯ КОЛОНКА СО СТАТЬЯМИ --- */
.blog-list-column {
  display: flex;
  flex-direction: column;
  gap: 20px; /* Расстояние между карточками постов */
}


/* --- АДАПТИВНОСТЬ --- */
@media (max-width: 991.98px) {
  /* На планшетах и мобилках отключаем липкость, так как колонки выстраиваются друг под другом */
  .sticky-column {
    position: relative;
    top: auto;
    align-self: stretch;
    margin-bottom: 30px;
  }
}













/* =========================================
   ФУТЕР
========================================= */
footer {
  background-color: #111111; /* Резервный темный цвет на время загрузки картинки */
  
  /* === ВАША КАРТИНКА СТАВИТСЯ ЗДЕСЬ === */
  background-image: url('../theme/img/start/footer-1-bg.webp'); 
  
  background-size: cover; /* Растягивает картинку на весь блок */
  background-position: center; /* Центрирует изображение */
  background-repeat: no-repeat; /* Запрещает размножение картинки плиткой */
  
  color: var(--color-white, #FFF);
  padding: 60px 0 20px;
  margin-top: 80px;
}

/* --- Верхняя часть (Иконки и контакты) --- */
.footer-top {
  align-items: center;
  padding-bottom: 40px;
}

.footer-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

/* Кружок с иконкой через псевдоэлемент */
.footer-contact::before {
  content: '';
  display: block;
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(255, 255, 255, 0.03);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 24px;
  transition: border-color 0.3s ease;
}

.footer-contact:hover::before {
  border-color: var(--color-red);
}

/* Инлайн SVG для иконок (белые) */
.icon-loc::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23FFF'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3C/svg%3E"); }
.icon-mail::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23FFF'%3E%3Cpath d='M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E"); }
.icon-phone::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23FFF'%3E%3Cpath d='M20.01 15.38c-1.23 0-2.42-.2-3.53-.56a.977.977 0 0 0-1.01.24l-1.57 1.97c-2.83-1.35-5.48-3.9-6.89-6.83l1.95-1.66c.27-.28.35-.67.24-1.02-.37-1.11-.56-2.3-.56-3.53 0-.54-.45-.99-.99-.99H4.19C3.65 3 3 3.24 3 3.99 3 13.28 10.73 21 20.01 21c.71 0 .99-.63.99-1.18v-3.45c0-.54-.45-.99-.99-.99z'/%3E%3C/svg%3E"); }

/* Текстовый блок контакта */
.fc-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.fc-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 4px;
  letter-spacing: 0.05em;
}

.fc-value {
  font-family: "Gilroy-ExtraBold", system-ui, sans-serif;
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-white, #FFF);
  text-decoration: none;
  transition: color 0.3s ease;
}

a.fc-value:hover {
  color: var(--color-red);
}

/* Разделитель */
.footer-divider {
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.08);
  margin-bottom: 50px;
}

/* --- Нижняя часть (Меню и текст) --- */
.footer-logo {
  max-width: 180px;
  margin-bottom: 20px;
}

 

.footer-desc, .footer-address {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #777;
  font-style: normal;
}

.footer-title {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-white, #FFF);
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}

/* Пунктирная линия под заголовками (как на макете) */
.footer-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  border-bottom: 2px dotted #555;
}

/* Списки ссылок */
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links li a {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #777;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}

/* Стрелочка перед ссылкой (без дополнительных тегов) */
.footer-links li a::before {
  content: '»';
  color: #444;
  font-size: 16px;
  transition: color 0.3s ease;
}

.footer-links li a:hover {
  color: var(--color-white, #FFF);
}

.footer-links li a:hover::before {
  color: var(--color-red);
}

/* --- Адаптивность --- */
@media (max-width: 991.98px) {
  .footer-contact {
    justify-content: flex-start; /* На планшетах выравниваем по левому краю */
    margin-bottom: 20px;
  }
  .footer-col {
    margin-bottom: 40px;
  }
}

@media (max-width: 575.98px) {
  .footer-contact {
    justify-content: flex-start;
  }
}







/* --- ФИКСЫ ДЛЯ МОБИЛЬНЫХ ЭКРАНОВ (УБИРАЕМ СКРОЛЛ) --- */
@media (max-width: 575.98px) {
    .hero-section {
        /* Уменьшаем боковые отступы с 2rem (32px) до 1rem (16px), 
           чтобы дать тексту больше полезного пространства */
        padding: 2rem 1rem; 
    }

    .hero-title {
        /* Снижаем минимальный размер шрифта с 48px до 38px, чтобы влезло слово "креативных" */
        font-size: clamp(38px, 10vw, 80px); 
        
        /* Экстренная защита: если слово всё равно не влезет, оно аккуратно перенесется, а не сломает экран */
        word-break: break-word; 
    }
    
    /* Защита для всех сеток на мобилках: запрещаем им распирать контент */
    .grid, .max-width {
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
    }
}


.right{display:flex;flex-direction:column;gap:px;min-width:0;font-size:13px;}
.wrap{display:flex;gap:12px;align-items:flex-start}



