/*
 Theme Name: Bosa Child
 Template: bosa-online-marketing
 Description: Дочерняя тема для Bosa Online Marketing
 Author: Ваше имя
 Version: 1.0.0
*/
@import url("../bosa-online-marketing/style.css");

/* === БАЗОВЫЕ СТИЛИ === */
body {
  background: #E9E5DD;
  font-family: 'Inter', 'Montserrat', Arial, sans-serif;
  margin: 0;
  overflow-x: hidden; /* Предотвращаем горизонтальный скролл */
}

/* === СИСТЕМА АНИМАЦИЙ === */
/* Базовые классы для анимаций */
.animate-element {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-element.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Специальные анимации для разных типов контента */
.animate-fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease-out;
}

.animate-fade-up.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.animate-fade-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.animate-fade-left.animate-in {
  opacity: 1;
  transform: translateX(0);
}

.animate-fade-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.animate-fade-right.animate-in {
  opacity: 1;
  transform: translateX(0);
}

.animate-scale {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.animate-scale.animate-in {
  opacity: 1;
  transform: scale(1);
}

/* === ШАПКА === */
.site-header {
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  padding: 0;
  width: 100%;
  position: relative;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 28px 56px 22px 56px;
  box-sizing: border-box;
}

.site-logo {
  min-width: 120px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: 3px;
  color: #232323;
  text-transform: uppercase;
  text-decoration: none;
  text-align: left;
  transition: transform 0.3s ease;
}

.site-logo:hover {
  transform: scale(1.05);
}

.main-nav {
  flex: 1;
}

.main-nav ul {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav a {
  font-family: 'Montserrat', 'Inter', Arial, sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #222;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 50%;
  background: #7BA6A4;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.main-nav a:hover {
  color: #7BA6A4;
  transform: translateY(-2px);
}

.main-nav a:hover::after {
  width: 100%;
}

.header-cta {
  min-width: 156px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 17px;
  color: #fff;
  background-color: #111;
  border: none;
  border-radius: 7px;
  padding: 11px 34px;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.header-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.header-cta:hover {
  background-color: #C88C5B; /* тот же цвет что у кнопки "узнать план роста" */
  color: #fff; /* белый текст */
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(200, 139, 88, 0.4);
}

.header-cta:hover::before {
  left: 100%;
}

/* === ПЕРВЫЙ ЭКРАН === */
.hero-root {
  height: 640px;
  width: 100vw;
  display: flex;
  flex-direction: row;
  align-items: center;
  background: #BAB29B;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
}

.hero-root__left {
  width: 55%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-left: 5vw;
  padding-right: 5vw;
  box-sizing: border-box;
}

.hero-root__left h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 60px;
  font-weight: 800;
  color: #232323;
  line-height: 1.08;
  margin: 0;
  text-align: left;
  max-width: 100%;
  letter-spacing: -2px;
  padding-left: 0;
  opacity: 0;
  transform: translateY(50px);
  animation: heroTitleSlide 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards 0.5s;
}

.hero-root__left .highlight-text {
  font-weight: 800;
}

/* Улучшенная анимация букв */
.highlight-letter {
  color: #232323;
  animation: colorWave 0.3s ease forwards;
  animation-delay: calc(1s + (0.1s * var(--letter-index)));
  transition: all 0.2s ease;
}

.highlight-letter:hover {
  transform: scale(1.1);
  text-shadow: 0 0 20px rgba(244, 244, 225, 0.8);
}

@keyframes colorWave {
  0% { 
    color: #232323; 
    transform: translateY(0);
  }
  50% { 
    transform: translateY(-5px);
  }
  100% { 
    color: #F4F4E1; 
    transform: translateY(0);
    text-shadow: 0 0 10px rgba(244, 244, 225, 0.5);
  }
}

.hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: #232323;
  line-height: 1.4;
  margin: 25px 0 40px 0;
  max-width: 90%;
  padding-left: 0;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(30px);
  animation: heroSubtitleSlide 1s ease forwards 0.8s;
}

/* Плашки с улучшенными анимациями */
.hero-plashki {
  display: flex;
  justify-content: flex-start;
  gap: 20px;
  margin-top: 0;
  flex-wrap: wrap;
  opacity: 0;
  animation: heroPlashkiAppear 0.8s ease forwards 1.2s;
}

.hero-plashka {
  background-color: rgba(123, 166, 164, 0.54);
  color: rgba(35, 35, 35, 0.6);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  padding: 15px 25px;
  border-radius: 40px;
  max-width: 320px;
  text-align: center;
  line-height: 1.4;
  box-shadow: 
    0 4px 4px rgba(0, 0, 0, 0.15),
    inset 0 8px 8px rgba(0, 0, 0, 0.15);
  transform: translateY(20px);
  opacity: 0;
  animation: plashkaSlideUp 0.6s ease forwards;
  transition: none; /* убираем все hover эффекты */
}

.hero-plashka:nth-child(1) { animation-delay: 1.4s; }
.hero-plashka:nth-child(2) { animation-delay: 1.6s; }
.hero-plashka:nth-child(3) { animation-delay: 1.8s; }

/* Убираем hover эффекты для плашек */
.hero-plashka:hover {
  transform: none;
  box-shadow: 
    0 4px 4px rgba(0, 0, 0, 0.15),
    inset 0 8px 8px rgba(0, 0, 0, 0.15);
  background-color: rgba(123, 166, 164, 0.54);
}

.hero-cta {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #F4F4E1;
  text-decoration: none;
  margin-top: 25px;
  text-transform: uppercase;
  max-width: 320px;
  text-align: center;
  line-height: 1;
  opacity: 0;
  transform: translateY(20px);
  animation: ctaAppear 0.8s ease forwards 2s;
  transition: all 0.3s ease;
}

.hero-cta-underline {
  border-bottom: 3px solid #C88B58;
  transition: all 0.3s ease;
  padding-bottom: 2px;
  display: inline-block;
}

.hero-cta:hover {
  color: #232323; /* тёмный текст при наведении */
  transform: translateY(-1px) scale(0.05); /* лёгкое увеличение */
}

.hero-cta:hover .hero-cta-underline {
  border-color: #7BA6A4;
  transform: scale(1.1); /* немного увеличиваем подчёркивание */
}

.hero-root__right {
  width: 48.8%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 20px;
  position: relative;
  overflow: visible;
  box-sizing: border-box;
}

.hero-root__tree {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  border-radius: 0;
  margin: 0;
  box-shadow: none;
  background: none;
  opacity: 0;
  transform: scale(0.8) translateY(30px);
  animation: treeGrow 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards 0.3s;
  transition: transform 0.1s ease-out;
}

/* Keyframes для hero анимаций */
@keyframes heroTitleSlide {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroSubtitleSlide {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroPlashkiAppear {
  to { opacity: 1; }
}

@keyframes plashkaSlideUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes ctaAppear {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes treeGrow {
  0% { opacity: 0; transform: scale(0.8) translateY(30px); }
  70% { opacity: 1; transform: scale(1.02) translateY(-5px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* === СЕКЦИЯ "НЕ СЛИВАЕМ БЮДЖЕТ" === */
.value-section {
  width: 100%;
  background: #E9E5DD;
  padding: 120px 56px 100px 56px;
  box-sizing: border-box;
  position: relative;
}

.value-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  gap: 80px;
  align-items: flex-start;
}

.value-left {
  flex: 1;
  max-width: 580px;
}

.value-left h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.15;
  color: #232323;
  margin: 0;
  letter-spacing: -1px;
}

.value-right {
  flex: 1;
  max-width: 600px;
  padding-top: 10px;
}

.value-right p {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  line-height: 1.6;
  color: #5A5A5A;
  margin: 0 0 20px 0;
  transition: all 0.3s ease;
}

.value-right p::after {
  content: " →";
  color: #C88C5B;
  font-weight: 600;
  transition: all 0.3s ease;
}

.value-right p:hover {
  color: #232323;
  transform: translateX(5px);
}

.value-right p:hover::after {
  color: #7BA6A4;
}

.value-right p:last-of-type {
  margin-bottom: 50px;
}

.value-buttons {
  display: flex;
  gap: 20px;
  margin-top: 50px;
}

.btn-primary {
  background: #111;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  font-weight: 600;
  padding: 16px 36px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  text-decoration: none;
  display: inline-block;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  background: #C88C5B;
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(200, 140, 91, 0.4);
}

.btn-secondary {
  background: transparent;
  color: #232323;
  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  font-weight: 600;
  padding: 15px 36px;
  border: 2px solid #7BA6A4;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  text-decoration: none;
  display: inline-block;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-secondary:hover {
  background: #7BA6A4;
  color: #fff;
  border-color: #7BA6A4;
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(123, 166, 164, 0.4);
}

/* === СЕКЦИЯ ПЛОЩАДОК === */
.platforms-section {
  width: 100%;
  background: #DDD6C8;
  padding: 60px 56px;
  box-sizing: border-box;
}

.platforms-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.platform-item {
  flex: 1;
  min-width: 140px;
  max-width: 160px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  opacity: 0;
  transform: translateY(30px) scale(0.9);
}

.platform-item.animate-platform {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.platform-item:hover {
  transform: translateY(-12px) rotate(2deg) scale(1.05);
}

.platform-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  filter: grayscale(20%);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px;
  box-sizing: border-box;
}

.platform-item:hover .platform-icon {
  filter: grayscale(0%) brightness(1.1);
  transform: scale(1.1) rotate(-2deg);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  background: rgba(255, 255, 255, 0.2);
}

.platform-item h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #232323;
  margin: 0 0 8px 0;
  transition: color 0.3s ease;
}

.platform-item:hover h3 {
  color: #7BA6A4;
}

.platform-item p {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #5A5A5A;
  margin: 0;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.platform-item:hover p {
  color: #232323;
}

/* === СЕКЦИЯ ТРАФИК И РЕКЛАМА === */
.traffic-section {
  width: 100%;
  background: #F5F2EC;
  padding: 10px 56px 10px 56px;
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
}

.traffic-container {
  max-width: 1400px;
  margin: 0 auto;
}

.traffic-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 100px;
  font-weight: 800;
  text-transform: lowercase;
  margin: 0 0 60px 0;
  background: linear-gradient(135deg, #C88C5B 0%, #D4A574 25%, #7BA6A4 75%, #6B9695 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  position: relative;
}

.traffic-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 0;
  height: 4px;
  background: linear-gradient(135deg, #C88C5B 0%, #7BA6A4 100%);
  transition: width 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.traffic-title.animate-in::after {
  width: 100%;
}

/* Анимация подчёркивания для новых заголовков */
.traffic-title-css.animate-in::after {
  width: 100% !important;
  transition: width 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.development-title-css.animate-in::after {
  width: 100% !important;
  transition: width 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.ai-title-css.animate-in::after {
  width: 100% !important;
  transition: width 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Базовое состояние для анимации заголовков */
.traffic-title-css::after,
.development-title-css::after,
.ai-title-css::after {
  width: 0 !important;
  transition: width 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.traffic-intro {
  position: relative;
  margin-bottom: 80px;
  padding-left: 50%;
  box-sizing: border-box;
  z-index: 1;
}

/* Декоративная мишень через HTML */
.traffic-target-image {
  position: absolute;
  left: 8%;
  top: 50%;
  transform: translateY(-50%);
  width: 320px;
  height: 320px;
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
  transition: transform 0.3s ease;
  display: block !important;
}

.traffic-content-wrapper {
  max-width: 600px;
  text-align: left;
  position: relative;
  z-index: 2;
}

.traffic-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
  text-align: left;
}

.traffic-benefits li {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  line-height: 1.3;
  color: #5A5A5A;
  margin-bottom: 12px;
  padding-left: 30px;
  position: relative;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.3s ease;
}

.traffic-benefits li.animate-list-item {
  opacity: 1;
  transform: translateX(0);
}

.traffic-benefits li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #C88C5B;
  font-weight: 600;
  font-size: 20px;
  transition: all 0.3s ease;
}

.traffic-benefits li:hover {
  color: #232323;
  transform: translateX(5px);
  cursor: default;
}

.traffic-benefits li:hover::before {
  color: #7BA6A4;
  transform: scale(1.2);
}

.traffic-description {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  line-height: 1.3;
  color: #232323;
  font-weight: 400;
  margin: 0;
  text-align: left;
}

/* === СЕТКИ УСЛУГ === */
.services-grid, .services-grid-two {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 60px;
  position: relative;
}

.service-card, .service-card-wide {
  background: transparent;
  padding: 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 400px;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-radius: 16px;
  cursor: pointer;
}

.service-card.animate-card, .service-card-wide.animate-card {
  opacity: 1;
  transform: translateY(0);
}

.service-card:hover, .service-card-wide:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.service-card.card-hover, .service-card-wide.card-hover {
  transform: translateY(-8px) scale(1.02);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.15);
}

.services-grid .service-card::after, .services-grid-two .service-card-wide::after {
  content: "";
  position: absolute;
  right: 0;
  top: 20px;
  bottom: 20px;
  width: 1px;
  background: rgba(74, 60, 51, 0.2);
  transition: opacity 0.3s ease;
}

.service-card:hover::after, .service-card-wide:hover::after {
  opacity: 0;
}

.services-grid .service-card:nth-child(3n)::after, 
.services-grid-two .service-card-wide:nth-child(3n)::after {
  display: none;
}

.service-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #C88C5B 0%, #7BA6A4 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 8px 25px rgba(200, 140, 91, 0.25);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.service-icon::before {
  content: "";
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: white;
  z-index: 2;
  position: relative;
}

.service-icon::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
  transform: scale(0);
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon, .service-card-wide:hover .service-icon,
.development-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 15px 40px rgba(200, 140, 91, 0.4);
}

.service-card:hover .service-icon::after, .service-card-wide:hover .service-icon::after {
  transform: scale(1);
}

/* Символы для иконок */
.service-card:nth-child(1) .service-icon::before { content: "→"; }
.service-card:nth-child(2) .service-icon::before { content: "◉"; }
.service-card:nth-child(3) .service-icon::before { content: "▲"; }
.service-card:nth-child(4) .service-icon::before { content: "◆"; }

.services-grid-two .service-card-wide:nth-child(1) .service-icon::before { 
  content: "✦"; font-size: 28px; 
}
.services-grid-two .service-card-wide:nth-child(2) .service-icon::before { 
  content: "◈"; font-size: 26px; 
}
.services-grid-two .service-card-wide:nth-child(3) .service-icon::before { 
  content: "↗"; font-size: 28px; font-weight: 800; 
}

.service-card h3, .service-card-wide h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #232323;
  margin: 0 0 20px 0;
  line-height: 1.3;
  min-height: 60px;
  transition: color 0.3s ease;
}

.service-card:hover h3, .service-card-wide:hover h3,
.development-card:hover h3 {
  color: #7BA6A4;
}

.service-content { 
  flex: 1; 
  display: flex; 
  flex-direction: column; 
}

.service-card p, .service-card-wide p {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: #5A5A5A;
  margin: 0 0 12px 0;
  transition: color 0.3s ease;
}

.service-card:hover p, .service-card-wide:hover p {
  color: #232323;
}

.service-footer { 
  margin-top: auto; 
  padding-top: 20px; 
}

.service-timeline { 
  font-family: 'Inter', sans-serif; 
  font-size: 13px; 
  color: #999; 
  margin-bottom: 12px; 
  transition: color 0.3s ease;
}

.service-card:hover .service-timeline, .service-card-wide:hover .service-timeline,
.development-card:hover .service-timeline {
  color: #7BA6A4;
}

.service-price { 
  font-family: 'Montserrat', sans-serif; 
  font-size: 24px; 
  font-weight: 700; 
  color: #232323; 
  margin-bottom: 20px; 
  transition: all 0.3s ease;
}

.service-card:hover .service-price, .service-card-wide:hover .service-price,
.development-card:hover .service-price {
  color: #C88C5B;
  transform: scale(1.05);
}

.service-link {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #232323;
  text-decoration: none;
  border: 2px solid #232323;
  border-radius: 12px;
  padding: 12px 28px;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  z-index: 2;
}
.service-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #7BA6A4;
  transition: left 0.3s ease;
  z-index: -1;
}
.service-link:hover {
  border-color: #7BA6A4;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(123, 166, 164, 0.3);
}
.service-link:hover::before {
  left: 0;
}

/* === АДАПТИВНОСТЬ === */
@media (max-width: 1200px) {
  .services-grid, .services-grid-two { 
    grid-template-columns: repeat(2, 1fr); 
  }
  .services-grid .service-card::after, .services-grid-two .service-card-wide::after { 
    display: block; 
  }
  .services-grid .service-card:nth-child(2n)::after, 
  .services-grid-two .service-card-wide:nth-child(2n)::after { 
    display: none; 
  }
}

@media (max-width: 1000px) {
  .hero-root {
    flex-direction: column;
    height: auto;
    min-height: 500px;
    padding-bottom: 40px;
  }
  
  .hero-root__left, .hero-root__right {
    width: 100vw;
    height: auto;
    justify-content: center;
    padding-right: 20px;
  }
  
  .hero-root__left h1 {
    font-size: 36px;
    text-align: center;
    margin-top: 24px;
    margin-bottom: 12px;
  }
  
  .hero-subtitle {
    font-size: 16px;
    text-align: center;
    margin: 20px auto 30px auto;
    max-width: 95%;
  }
  
  .hero-plashki {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
  }
  
  .hero-plashka {
    max-width: 90%;
    margin-bottom: 10px;
  }
  
  .hero-root__tree {
    width: 90vw;
    max-width: 400px;
    margin-top: 20px;
  }
  
  .value-container {
    flex-direction: column;
    gap: 40px;
  }
  
  .value-left h2 {
    font-size: 32px;
    text-align: center;
  }
  
  .value-right p {
    font-size: 18px;
    text-align: center;
  }
  
  .value-buttons {
    flex-direction: column;
    width: 100%;
    align-items: center;
  }
  
  .btn-primary, .btn-secondary {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
  
  .traffic-title {
    font-size: 80px;
    text-align: center;
  }
  
  .traffic-intro {
    padding-left: 0;
    text-align: center;
  }
  
  .platforms-container {
    justify-content: center;
    gap: 20px;
  }
  
  .platform-item {
    min-width: calc(33.33% - 20px);
  }
}

@media (max-width: 768px) {
  .services-grid, .services-grid-two { 
    grid-template-columns: 1fr; 
  }
  
  .services-grid .service-card::after, .services-grid-two .service-card-wide::after { 
    display: none; 
  }
  
  .service-card:not(:last-child), .service-card-wide:not(:last-child) {
    border-bottom: 1px solid rgba(74, 60, 51, 0.1);
    padding-bottom: 40px;
    margin-bottom: 20px;
  }
  
  .hero-root__left h1 {
    font-size: 28px;
  }
  
  .hero-subtitle {
    font-size: 14px;
  }
  
  .traffic-title {
    font-size: 60px;
  }
  
  .platform-item {
    min-width: calc(50% - 15px);
    margin-bottom: 20px;
  }
  
  .platform-icon {
    width: 48px;
    height: 48px;
  }
  
  .value-section, .platforms-section, .traffic-section {
    padding: 60px 20px;
  }
}

@media (max-width: 600px) {
  .hero-root__left h1 { 
    font-size: 24px; 
  }
  
  .hero-subtitle { 
    font-size: 12px; 
  }
  
  .traffic-title {
    font-size: 48px;
  }
  
  .value-left h2 {
    font-size: 24px;
  }
  
  .value-right p {
    font-size: 16px;
  }
}
/* === ВЫПАДАЮЩАЯ СЕКЦИЯ УСЛУГ (С АНИМАЦИЕЙ КАРТОЧЕК) === */

/* Скрываем чекбокс */
#traffic-toggle {
  display: none;
}

/* Стилизуем лейбл как кликабельный заголовок */
.traffic-header-css {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  margin-bottom: 60px;
  padding: 20px 0;
  transition: all 0.3s ease;
}

.traffic-header-css:hover {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transform: translateY(-2px);
}

/* Заголовок с анимационной линией */
.traffic-title-css {
  font-family: 'Montserrat', sans-serif;
  font-size: 100px;
  font-weight: 800;
  text-transform: lowercase;
  margin: 0;
  background: linear-gradient(135deg, #C88C5B 0%, #D4A574 25%, #7BA6A4 75%, #6B9695 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  position: relative;
  flex: 1;
  transition: all 0.3s ease;
}

.traffic-title-css::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(135deg, #C88C5B 0%, #7BA6A4 100%);
}

/* Стрелочка в лейбле */
.traffic-arrow-css {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #C88C5B 0%, #7BA6A4 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  margin-left: 20px;
  box-shadow: 0 8px 25px rgba(200, 140, 91, 0.3);
}

.traffic-arrow-css::after {
  content: "▼";
  color: white;
  font-size: 16px;
  transition: transform 0.3s ease;
}

/* Поворачиваем стрелочку когда открыто */
#traffic-toggle:checked + .traffic-header-css .traffic-arrow-css::after {
  transform: rotate(180deg);
}

#traffic-toggle:checked + .traffic-header-css .traffic-arrow-css {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(200, 140, 91, 0.4);
}

/* Hover эффект */
.traffic-header-css:hover .traffic-arrow-css {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(200, 140, 91, 0.35);
}

.traffic-header-css:hover .traffic-title-css {
  transform: scale(1.02);
}

/* ПЛАВНЫЙ выпадающий контейнер */
.services-collapsible-css {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
              opacity 0.6s ease;
}

/* Открываем когда чекбокс отмечен */
#traffic-toggle:checked ~ .services-collapsible-css {
  max-height: 2000px;
  opacity: 1;
}

/* БАЗОВОЕ состояние карточек - скрыты и смещены */
.services-collapsible-css .service-card,
.services-collapsible-css .service-card-wide {
  transform: translate3d(0, 30px, 0);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Анимация описания услуг */
.services-collapsible-css .traffic-intro {
  transform: translate3d(0, 20px, 0);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ЗАДЕРЖКИ ДЛЯ КАЖДОЙ КАРТОЧКИ В БАЗОВОМ СОСТОЯНИИ */

/* Описание - первым */
.services-collapsible-css .traffic-intro {
  transition-delay: 0.1s;
}

/* Первый ряд карточек */
.services-collapsible-css .services-grid .service-card:nth-child(1) {
  transition-delay: 0.2s;
}

.services-collapsible-css .services-grid .service-card:nth-child(2) {
  transition-delay: 0.3s;
}

.services-collapsible-css .services-grid .service-card:nth-child(3) {
  transition-delay: 0.4s;
}

/* Второй ряд карточек */
.services-collapsible-css .services-grid-two .service-card-wide:nth-child(1) {
  transition-delay: 0.5s;
}

.services-collapsible-css .services-grid-two .service-card-wide:nth-child(2) {
  transition-delay: 0.6s;
}

.services-collapsible-css .services-grid-two .service-card-wide:nth-child(3) {
  transition-delay: 0.7s;
}

/* ПОЯВЛЕНИЕ при открытии */
#traffic-toggle:checked ~ .services-collapsible-css .traffic-intro,
#traffic-toggle:checked ~ .services-collapsible-css .service-card,
#traffic-toggle:checked ~ .services-collapsible-css .service-card-wide {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}
/* === ИСПРАВЛЕНИЕ HOVER ЭФФЕКТОВ КАРТОЧЕК === */

/* Сбрасываем все задержки для hover состояний */
.service-card:hover,
.service-card-wide:hover {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  transition-delay: 0s !important;
  transform: translateY(-8px) !important;
  background: rgba(255, 255, 255, 0.6) !important;
  backdrop-filter: blur(10px) !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1) !important;
}

/* Быстрые hover эффекты для элементов внутри карточек */
.service-card:hover .service-icon,
.service-card-wide:hover .service-icon {
  transform: scale(1.1) rotate(5deg) !important;
  transition: transform 0.3s ease !important;
  transition-delay: 0s !important;
}

.service-card:hover h3,
.service-card-wide:hover h3 {
  color: #7BA6A4 !important;
  transition: color 0.3s ease !important;
  transition-delay: 0s !important;
}

.service-card:hover p,
.service-card-wide:hover p {
  color: #232323 !important;
  transition: color 0.3s ease !important;
  transition-delay: 0s !important;
}

.service-card:hover .service-price,
.service-card-wide:hover .service-price {
  color: #C88C5B !important;
  transform: scale(1.05) !important;
  transition: all 0.3s ease !important;
  transition-delay: 0s !important;
}

/* Принудительный сброс hover состояния при уходе курсора */
.service-card,
.service-card-wide {
  transition: all 0.3s ease !important;
}

.service-card:not(:hover),
.service-card-wide:not(:hover) {
  transition-delay: 0s !important;
}
/* === СЕКЦИЯ "РАЗРАБОТКА САЙТА И КВИЗА" === */

/* Базовая секция */
.development-section {
  width: 100%;
  background: #F0EDE6; /* немного другой оттенок фона */
  padding: 10px 56px 10px 56px;
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
}

.development-container {
  max-width: 1400px;
  margin: 0 auto;
}

/* Скрываем чекбокс */
#development-toggle {
  display: none;
}

/* Стилизуем лейбл как кликабельный заголовок */
.development-header-css {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  margin-bottom: 60px;
  padding: 20px 0;
  transition: all 0.3s ease;
}

.development-header-css:hover {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transform: translateY(-2px);
}

/* Заголовок с анимационной линией */
.development-title-css {
  font-family: 'Montserrat', sans-serif;
  font-size: 100px;
  font-weight: 800;
  text-transform: lowercase;
  margin: 0;
  background: linear-gradient(135deg, #7BA6A4 0%, #A8C8C6 25%, #C88C5B 75%, #D4A574 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  position: relative;
  flex: 1;
  transition: all 0.3s ease;
}

.development-title-css::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(135deg, #7BA6A4 0%, #C88C5B 100%);
}

/* Стрелочка в лейбле */
.development-arrow-css {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #7BA6A4 0%, #C88C5B 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  margin-left: 20px;
  box-shadow: 0 8px 25px rgba(123, 166, 164, 0.3);
}

.development-arrow-css::after {
  content: "▼";
  color: white;
  font-size: 16px;
  transition: transform 0.3s ease;
}

/* Поворачиваем стрелочку когда открыто */
#development-toggle:checked + .development-header-css .development-arrow-css::after {
  transform: rotate(180deg);
}

#development-toggle:checked + .development-header-css .development-arrow-css {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(123, 166, 164, 0.4);
}

/* Hover эффект */
.development-header-css:hover .development-arrow-css {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(123, 166, 164, 0.35);
}

.development-header-css:hover .development-title-css {
  transform: scale(1.02);
}

/* ПЛАВНЫЙ выпадающий контейнер */
.development-collapsible-css {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
              opacity 0.6s ease;
}

/* Описание услуг */
.development-intro {
  position: relative;
  margin-bottom: 80px;
  padding-left: 50%;
  box-sizing: border-box;
  z-index: 1;
}

/* Декоративное изображение для блока разработки */
.development-target-image {
  position: absolute;
  left: 8%;
  top: 50%;
  transform: translateY(-50%);
  width: 320px;
  height: 320px;
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
  transition: transform 0.3s ease;
  display: block !important;
}

.development-content-wrapper {
  max-width: 600px;
  text-align: left;
  position: relative;
  z-index: 2;
}

.development-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
  text-align: left;
}

.development-benefits li {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  line-height: 1.3;
  color: #5A5A5A;
  margin-bottom: 12px;
  padding-left: 30px;
  position: relative;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.3s ease;
}

.development-benefits li.animate-list-item {
  opacity: 1;
  transform: translateX(0);
}

.development-benefits li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #C88C5B;
  font-weight: 600;
  font-size: 20px;
  transition: all 0.3s ease;
}

.development-benefits li:hover {
  color: #232323;
  transform: translateX(5px);
  cursor: default;
}

.development-benefits li:hover::before {
  color: #7BA6A4;
  transform: scale(1.2);
}

.development-description {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  line-height: 1.3;
  color: #232323;
  font-weight: 400;
  margin: 0;
  text-align: left;
}

/* Сетка услуг 3x1 */
.development-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 60px;
  position: relative;
}

.development-card {
  background: transparent;
  padding: 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 400px;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-radius: 16px;
  cursor: pointer;
}

.development-card.animate-card {
  opacity: 1;
  transform: translateY(0);
}

.development-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* Разделители между карточками */
.development-grid .development-card::after {
  content: "";
  position: absolute;
  right: 0;
  top: 20px;
  bottom: 20px;
  width: 1px;
  background: rgba(74, 60, 51, 0.2);
  transition: opacity 0.3s ease;
}

.development-card:hover::after {
  opacity: 0;
}

.development-grid .development-card:nth-child(3n)::after {
  display: none;
}

/* Уникальные иконки для каждой карточки */
.development-icon-1::before { content: "◐"; font-size: 26px; }
.development-icon-2::before { content: "◆"; font-size: 24px; }
.development-icon-3::before { content: "▣"; font-size: 24px; }
.development-icon-4::before { content: "◯"; font-size: 26px; }

/* БАЗОВОЕ состояние карточек - скрыты и смещены */
.development-collapsible-css .development-card {
  transform: translate3d(0, 30px, 0);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Анимация описания услуг */
.development-collapsible-css .development-intro {
  transform: translate3d(0, 20px, 0);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: 0.1s;
}

.development-collapsible-css .development-grid .development-card:nth-child(1) {
  transition-delay: 0.2s;
}

.development-collapsible-css .development-grid .development-card:nth-child(2) {
  transition-delay: 0.3s;
}

.development-collapsible-css .development-grid .development-card:nth-child(3) {
  transition-delay: 0.4s;
}

.development-collapsible-css .development-grid .development-card:nth-child(4) {
  transition-delay: 0.5s;
}

/* ПОЯВЛЕНИЕ при открытии */
#development-toggle:checked ~ .development-collapsible-css {
  max-height: 2000px;
  opacity: 1;
}

#development-toggle:checked ~ .development-collapsible-css .development-intro,
#development-toggle:checked ~ .development-collapsible-css .development-card {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

/* Сбрасываем задержки для hover состояний */
.development-card:hover {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  transition-delay: 0s !important;
}

.development-card:not(:hover) {
  transition-delay: 0s !important;
}

.development-card:hover .service-icon,
.development-card:hover h3,
.development-card:hover p,
.development-card:hover .service-price,
.development-card:hover .service-timeline {
  transition-delay: 0s !important;
}

/* Адаптивность */
@media (max-width: 1000px) {
  .development-title-css {
    font-size: 80px;
    text-align: center;
  }
  
  .development-intro {
    padding-left: 0;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .development-grid { 
    grid-template-columns: 1fr; 
  }
  
  .development-grid .development-card::after,
  .development-grid .development-card::before { 
    display: none; 
  }
  
  .development-card:not(:last-child) {
    border-bottom: 1px solid rgba(74, 60, 51, 0.1);
    padding-bottom: 40px;
    margin-bottom: 20px;
  }
  
  .development-title-css {
    font-size: 60px;
  }
  
  .development-section {
    padding: 60px 20px;
  }
}

@media (max-width: 600px) {
  .development-title-css {
    font-size: 48px;
  }
}
.development-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #232323;
  margin: 0 0 20px 0;
  line-height: 1.3;
  min-height: 60px;
  transition: color 0.3s ease;
}

.development-card:hover h3 {
  color: #7BA6A4;
}

/* --- Секция "ИИ-ассистенты и контент-завод" --- */
.ai-section {
  width: 100%;
  background: #E9E5DD;
  padding: 10px 56px 10px 56px;
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
}

.ai-container {
  max-width: 1400px;
  margin: 0 auto;
}

/* Скрываем чекбокс */
#ai-toggle {
  display: none;
}

/* Стилизуем лейбл как кликабельный заголовок */
.ai-header-css {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  margin-bottom: 60px;
  padding: 20px 0;
  transition: all 0.3s ease;
}

.ai-header-css:hover {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transform: translateY(-2px);
}

/* Заголовок с анимационной линией */
.ai-title-css {
  font-family: 'Montserrat', sans-serif;
  font-size: 100px;
  font-weight: 800;
  text-transform: lowercase;
  margin: 0;
  background: linear-gradient(135deg, #C88C5B 0%, #D4A574 25%, #7BA6A4 75%, #6B9695 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  position: relative;
  flex: 1;
  transition: all 0.3s ease;
}

.ai-title-css::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 0;
  height: 4px;
  background: linear-gradient(135deg, #C88C5B 0%, #7BA6A4 100%);
  transition: width 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Стрелочка в лейбле */
.ai-arrow-css {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #C88C5B 0%, #7BA6A4 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  margin-left: 20px;
  box-shadow: 0 8px 25px rgba(200, 140, 91, 0.3);
}

.ai-arrow-css::after {
  content: "▼";
  color: white;
  font-size: 16px;
  transition: transform 0.3s ease;
}

/* Поворачиваем стрелочку когда открыто */
#ai-toggle:checked + .ai-header-css .ai-arrow-css::after {
  transform: rotate(180deg);
}

#ai-toggle:checked + .ai-header-css .ai-arrow-css {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(200, 140, 91, 0.4);
}

/* Hover эффект */
.ai-header-css:hover .ai-arrow-css {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(200, 140, 91, 0.35);
}

.ai-header-css:hover .ai-title-css {
  transform: scale(1.02);
}

/* ПЛАВНЫЙ выпадающий контейнер */
.ai-collapsible-css {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
              opacity 0.6s ease;
}

/* Открываем когда чекбокс отмечен */
#ai-toggle:checked ~ .ai-collapsible-css {
  max-height: 2000px;
  opacity: 1;
}

/* Вводная секция */
.ai-intro {
  position: relative;
  margin-bottom: 80px;
  padding-left: 50%;
  box-sizing: border-box;
  z-index: 1;
}

/* Декоративное изображение для блока AI */
.ai-target-image {
  position: absolute;
  left: 8%;
  top: 50%;
  transform: translateY(-50%);
  width: 320px;
  height: 320px;
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
  transition: transform 0.3s ease;
  display: block !important;
}

.ai-content-wrapper {
  max-width: 600px;
  text-align: left;
  position: relative;
  z-index: 2;
}

.ai-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
  text-align: left;
}

.ai-benefits li {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  line-height: 1.3;
  color: #5A5A5A;
  margin-bottom: 12px;
  padding-left: 30px;
  position: relative;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.3s ease;
}

.ai-benefits li.animate-list-item {
  opacity: 1;
  transform: translateX(0);
}

.ai-benefits li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #C88C5B;
  font-weight: 600;
  font-size: 20px;
  transition: all 0.3s ease;
}

.ai-benefits li:hover {
  color: #232323;
  transform: translateX(5px);
  cursor: default;
}

.ai-benefits li:hover::before {
  color: #7BA6A4;
  transform: scale(1.2);
}

.ai-description {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  line-height: 1.3;
  color: #232323;
  font-weight: 400;
  margin: 0;
  text-align: left;
}

/* Сетка услуг (3 карточки) */
.ai-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 60px;
  position: relative;
}

.ai-service-card {
  background: transparent;
  padding: 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 400px;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-radius: 16px;
  cursor: pointer;
}

.ai-service-card.animate-card {
  opacity: 1;
  transform: translateY(0);
}

.ai-service-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* Разделители между карточками */
.ai-services-grid .ai-service-card::after {
  content: "";
  position: absolute;
  right: 0;
  top: 20px;
  bottom: 20px;
  width: 1px;
  background: rgba(74, 60, 51, 0.2);
  transition: opacity 0.3s ease;
}

.ai-service-card:hover::after {
  opacity: 0;
}

.ai-services-grid .ai-service-card:nth-child(3n)::after {
  display: none;
}

/* Иконки для AI карточек */
.ai-service-card .service-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #C88C5B 0%, #7BA6A4 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 8px 25px rgba(200, 140, 91, 0.25);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.ai-service-card .service-icon::before {
  content: "";
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: white;
  z-index: 2;
  position: relative;
}

/* Уникальные символы для AI карточек */
.ai-service-card:nth-child(1) .service-icon::before { 
  content: "◆"; 
  font-size: 28px; 
}
.ai-service-card:nth-child(2) .service-icon::before { 
  content: "✦"; 
  font-size: 28px; 
}
.ai-service-card:nth-child(3) .service-icon::before { 
  content: "◉"; 
  font-size: 26px; 
}

.ai-service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 15px 40px rgba(200, 140, 91, 0.4);
}

.ai-service-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #232323;
  margin: 0 0 20px 0;
  line-height: 1.3;
  min-height: 60px;
  transition: color 0.3s ease;
}

.ai-service-card:hover h3 {
  color: #7BA6A4;
}

.ai-service-card p {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: #5A5A5A;
  margin: 0 0 12px 0;
  transition: color 0.3s ease;
}

.ai-service-card:hover p {
  color: #232323;
}

/* БАЗОВОЕ состояние карточек - скрыты и смещены */
.ai-collapsible-css .ai-service-card {
  transform: translate3d(0, 30px, 0);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Анимация описания услуг */
.ai-collapsible-css .ai-intro {
  transform: translate3d(0, 20px, 0);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: 0.1s;
}

/* ЗАДЕРЖКИ ДЛЯ КАЖДОЙ КАРТОЧКИ */
.ai-collapsible-css .ai-services-grid .ai-service-card:nth-child(1) {
  transition-delay: 0.2s;
}

.ai-collapsible-css .ai-services-grid .ai-service-card:nth-child(2) {
  transition-delay: 0.3s;
}

.ai-collapsible-css .ai-services-grid .ai-service-card:nth-child(3) {
  transition-delay: 0.4s;
}

/* ПОЯВЛЕНИЕ при открытии */
#ai-toggle:checked ~ .ai-collapsible-css .ai-intro,
#ai-toggle:checked ~ .ai-collapsible-css .ai-service-card {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

/* Сбрасываем задержки для hover состояний */
.ai-service-card:hover {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  transition-delay: 0s !important;
}

.ai-service-card:not(:hover) {
  transition-delay: 0s !important;
}

/* Адаптивность */
@media (max-width: 1000px) {
  .ai-title-css {
    font-size: 80px;
    text-align: center;
  }
  
  .ai-intro {
    padding-left: 0;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .ai-section {
    padding: 60px 20px;
  }
  
  .ai-title-css {
    font-size: 60px;
  }
  
  .ai-services-grid {
    grid-template-columns: 1fr;
  }
  
  .ai-services-grid .ai-service-card::after {
    display: none;
  }
  
  .ai-service-card:not(:last-child) {
    border-bottom: 1px solid rgba(74, 60, 51, 0.1);
    padding-bottom: 40px;
    margin-bottom: 20px;
  }
}

@media (max-width: 600px) {
  .ai-title-css {
    font-size: 48px;
  }
}