/* webprolab.ru/components/concept2/C2Services.vue */

/* Заголовок услуги: компактный межстрочный интервал для двухстрочных названий на мобильной
   версии — расстояние между строками ≈ половина кегля (line-height 1.5). */
.c2-svc-title[data-v-1ece7f57] {
  line-height: 1.2;
}

/* Кнопка «Связаться со мной» — яркая, главная (в цветах услуги) */
.c2-win-contact[data-v-1ece7f57] {
  padding: 0.8rem 1.5rem;
  border-radius: 10px;
  font-weight: 700; font-size: 0.95rem;
  color: #fff;
  background: linear-gradient(135deg, var(--win-a, #fbbf24), var(--win-b, #f97316));
  box-shadow: 0 5px 18px var(--win-shadow, rgba(249, 115, 22, 0.3));
  transition: all 0.22s;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.c2-win-contact[data-v-1ece7f57]:hover { box-shadow: 0 9px 28px var(--win-shadow, rgba(249, 115, 22, 0.42)); transform: translateY(-2px);
}

/* Кнопка «Калькулятор …» — квадратная, крупная, заметная */
.c2-win-calc[data-v-1ece7f57] {
  padding: 0.8rem 1.5rem;
  border-radius: 10px;
  font-weight: 700; font-size: 0.95rem;
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #db2777);
  box-shadow: 0 5px 18px rgba(124, 58, 237, 0.3);
  transition: all 0.22s;
}
.c2-win-calc[data-v-1ece7f57]:hover { box-shadow: 0 9px 28px rgba(124, 58, 237, 0.42); transform: translateY(-2px);
}

/* Кнопка «Подробнее» — квадратная, в цвет услуги */
.c2-win-more[data-v-1ece7f57] {
  padding: 0.8rem 1.5rem;
  border-radius: 10px;
  font-weight: 700; font-size: 0.95rem;
  border: 2px solid currentColor;
  background: transparent;
  transition: all 0.22s;
}
.c2-win-more[data-v-1ece7f57]:hover { background: rgba(124, 58, 237, 0.08); transform: translateY(-2px);
}

/* Плашка-бейдж услуги (например «Веб-приложение на Chatium») */
.c2-win-badge[data-v-1ece7f57] {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
  padding: 0.28rem 0.7rem;
  border-radius: 9999px;
  border: 1.5px solid;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.4;
  transition: all 0.2s;
}
.c2-win-badge[data-v-1ece7f57]:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

/* Ссылка на платформу (реферальная): «Платформа Тильда ↗» */
.c2-platform-link[data-v-1ece7f57] {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  margin-bottom: 0.85rem;
  transition: opacity 0.2s;
}
.c2-platform-link[data-v-1ece7f57]:hover { opacity: 0.75;
}

/* Мобильные: длинные подписи кнопок (в т.ч. «Калькулятор оформления соцсетей») умещаются
   в одну строку — стрелка «→» не падает на вторую строку и текст не выходит за края */
@media (max-width: 480px) {
.c2-win-calc[data-v-1ece7f57], .c2-win-more[data-v-1ece7f57], .c2-win-contact[data-v-1ece7f57] {
    padding: 0.7rem 0.8rem;
    font-size: clamp(0.66rem, 3.2vw, 0.95rem);
    white-space: nowrap;
}
  /* Иконка калькулятора на телефоне не нужна — освобождает место для длинной подписи */
.c2-win-calc svg[data-v-1ece7f57] { display: none;
}
}

/* webprolab.ru/pages/ThemePreview2Page.vue */

summary[data-v-71e60985]::-webkit-details-marker { display: none;
}
summary[data-v-71e60985] { outline: none;
}
details[open] summary[data-v-71e60985] { margin-bottom: 0;
}

/* ===== Фоновый рисунок hero (присланная картинка, ~20% прозрачности — как на остальных светлых страницах) ===== */
/* Оптимизация 24.08.2026: вместо тяжёлого оригинала 2752x1536 (~1 МБ) берём лёгкое
   превью 1600px той же картинки — при прозрачности 0.2 визуально идентично,
   а LCP перестаёт тянуть лишний мегабайт (Lighthouse «LCP / unused preload»). */
.concept2-hero-bg[data-v-71e60985] {
  position: absolute; inset: 0;
  background-image: url('https://fs.chatium.ru/thumbnail/image_msk_8n0V7ViwhJ.2752x1536.jpeg/s/1600x');
  background-size: cover;
  background-position: center;
  opacity: 0.2;
}

/* ===== Переход выпадающего меню «Услуги» ===== */
.concept2-dropdown-fade-enter-active[data-v-71e60985], .concept2-dropdown-fade-leave-active[data-v-71e60985] { transition: opacity 0.2s ease, transform 0.2s ease;
}
.concept2-dropdown-fade-enter-from[data-v-71e60985], .concept2-dropdown-fade-leave-to[data-v-71e60985] { opacity: 0; transform: translateY(-6px);
}

/* ===== Процесс: анимированная линия этапности (от края до края) ===== */
.concept2-process[data-v-71e60985] { height: 460px;
}
.concept2-process-svg[data-v-71e60985] { position: absolute; inset: 0; width: 100%; height: 100%;
}
.concept2-process-line[data-v-71e60985] {
  fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  filter: drop-shadow(0 0 5px rgba(168,85,247,0.45));
  transition: stroke-dashoffset 3.1s ease-in-out 0.15s;
}
.concept2-process.active .concept2-process-line[data-v-71e60985] { stroke-dashoffset: 0;
}
.concept2-process-dot[data-v-71e60985] {
  position: absolute; width: 18px; height: 18px; border-radius: 9999px;
  background: radial-gradient(circle at 30% 30%, #f0abfc, #a855f7);
  box-shadow: 0 0 14px 3px rgba(168,85,247,0.85);
  offset-path: path('M -14 78 L 12.5 68 L 37.5 56 L 62.5 44 L 87.5 32 L 140 24');
  opacity: 0; z-index: 3;
}
.concept2-process.active .concept2-process-dot[data-v-71e60985] {
  opacity: 1; animation: processTravel-71e60985 5.2s linear forwards;
}
@keyframes processTravel-71e60985 {
to { offset-distance: 100%;
}
}
.concept2-pcard[data-v-71e60985] {
  position: absolute; width: 232px; z-index: 2; padding: 16px 18px 14px;
  border-radius: 14px; background: #ffffff; border: 1px solid #eef2f7;
  box-shadow: 0 10px 26px rgba(15,23,42,0.06);
  opacity: 0.22; transform: translateX(-50%) translateY(16px) scale(0.96);
}
.concept2-process.active .concept2-pcard[data-v-71e60985] {
  animation: processLift-71e60985 0.8s cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
}
.concept2-process.active .pcard-0[data-v-71e60985] { animation-delay: 0.8s;
}
.concept2-process.active .pcard-1[data-v-71e60985] { animation-delay: 1.9s;
}
.concept2-process.active .pcard-2[data-v-71e60985] { animation-delay: 3.0s;
}
.concept2-process.active .pcard-3[data-v-71e60985] { animation-delay: 4.1s;
}
@keyframes processLift-71e60985 {
from { opacity: 0.22; transform: translateX(-50%) translateY(16px) scale(0.96); box-shadow: 0 4px 12px rgba(15,23,42,0.05);
}
to { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); box-shadow: 0 18px 34px rgba(124,58,237,0.16);
}
}
.concept2-pcard-body[data-v-71e60985] { margin-bottom: 12px;
}
.concept2-pcard-num[data-v-71e60985] {
  width: 36px; height: 36px; border-radius: 12px; color: #fff; font-weight: 800; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}
.concept2-process-live[data-v-71e60985] {
  position: absolute; right: 3%; top: 2%; z-index: 4;
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 700; color: #059669;
  background: rgba(255,255,255,0.85); border: 1px solid #d1fae5; border-radius: 9999px; padding: 6px 12px;
  box-shadow: 0 6px 16px rgba(16,185,129,0.15); opacity: 0;
  transition: opacity 0.5s ease 4.8s;
}
.concept2-process.active .concept2-process-live[data-v-71e60985] { opacity: 1;
}
.concept2-live-dot[data-v-71e60985] {
  width: 8px; height: 8px; border-radius: 9999px; background: #10b981;
  animation: livePulse-71e60985 1.6s ease-in-out infinite;
}
@keyframes livePulse-71e60985 {
0%,100% { opacity: 1; transform: scale(1);
}
50% { opacity: 0.45; transform: scale(0.7);
}
}

/* ===== Показатели роста: глассморфизм-карточки ниже линии процесса ===== */
.concept2-growth-wrap[data-v-71e60985] { position: relative;
}
.concept2-growth[data-v-71e60985] {
  display: flex; align-items: center; gap: 0.9rem;
  padding: 1.3rem 1.5rem;
  border-radius: 1.25rem;
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(14px) saturate(1.5);
  -webkit-backdrop-filter: blur(14px) saturate(1.5);
  border: 1px solid rgba(255,255,255,0.75);
  box-shadow: 0 6px 22px rgba(15,23,42,0.06), inset 0 1px 0 rgba(255,255,255,0.9);
  transition: box-shadow 0.3s ease;
}
.concept2-growth-wrap.active .concept2-growth[data-v-71e60985] {
  animation: concept2GrowthIn-71e60985 0.7s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}
/* Каскадное появление: одна за другой, в конце анимации линии (линия рисуется ~3.1с) */
.concept2-growth-wrap.active .growth-0[data-v-71e60985] { animation-delay: 2.6s;
}
.concept2-growth-wrap.active .growth-1[data-v-71e60985] { animation-delay: 3.0s;
}
.concept2-growth-wrap.active .growth-2[data-v-71e60985] { animation-delay: 3.4s;
}
.concept2-growth-wrap.active .growth-3[data-v-71e60985] { animation-delay: 3.8s;
}
.concept2-growth[data-v-71e60985]:hover {
  box-shadow: 0 14px 32px rgba(124,58,237,0.16), inset 0 1px 0 rgba(255,255,255,0.95);
}
@keyframes concept2GrowthIn-71e60985 {
from { opacity: 0.2; transform: translateY(18px);
}
to { opacity: 1; transform: translateY(0);
}
}
.concept2-growth-icon[data-v-71e60985] {
  width: 46px; height: 46px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px; font-size: 1.35rem;
}
.concept2-growth-value[data-v-71e60985] { font-size: 1.55rem; font-weight: 800; line-height: 1.1;
}
.concept2-growth-label[data-v-71e60985] { margin-top: 0.25rem; font-size: 0.82rem; color: #64748b; font-weight: 500;
}
@media (max-width: 768px) {
.concept2-growth[data-v-71e60985] { padding: 1.05rem 1.1rem; gap: 0.7rem;
}
.concept2-growth-icon[data-v-71e60985] { width: 40px; height: 40px; font-size: 1.15rem;
}
.concept2-growth-value[data-v-71e60985] { font-size: 1.3rem;
}
}

/* ===== «Другие проекты»: горизонтальная скролл-лента (компактные карточки) ===== */
.c2-other-scroller[data-v-71e60985] {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.6rem;
  scrollbar-width: thin;
  scrollbar-color: #c4b5fd #eef2f7;
  -webkit-overflow-scrolling: touch;
}
.c2-other-scroller[data-v-71e60985]::-webkit-scrollbar { height: 8px;
}
.c2-other-scroller[data-v-71e60985]::-webkit-scrollbar-track { background: #eef2f7; border-radius: 9999px;
}
.c2-other-scroller[data-v-71e60985]::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #c4b5fd, #f0abfc);
  border-radius: 9999px;
}
.c2-other-card[data-v-71e60985] {
  flex: 0 0 auto;
  width: 240px;
  scroll-snap-align: start;
  text-align: left;
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 1rem;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.c2-other-card[data-v-71e60985]:hover {
  box-shadow: 0 14px 30px rgba(124,58,237,0.14);
  transform: translateY(-3px);
}
.c2-other-thumb[data-v-71e60985] {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  display: block;
}
.c2-other-img[data-v-71e60985] { width: 100%; height: 100%; display: block;
}
.c2-other-badge[data-v-71e60985] {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(255,255,255,0.92);
  color: #6d28d9;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 9999px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.c2-other-title[data-v-71e60985] {
  padding: 0.65rem 0.85rem 0.75rem;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  line-height: 1.3;
}
.c2-other-nav[data-v-71e60985] {
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #e2e8f0;
  color: #6d28d9;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.25s ease;
}
.c2-other-nav[data-v-71e60985]:hover {
  background: linear-gradient(135deg, #7c3aed, #db2777);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(124,58,237,0.3);
}

