/* ===== БАЗОВЫЕ СТИЛИ SALKI ===== */
:root {
  --salki-black: #000000;
  --salki-white: #FFFFFF;
  --salki-red: #FF3B30;
  --salki-gray: #F5F5F7;
  --salki-text: #000000;
  --salki-text-secondary: #666666;
}

/* ===== КИНЕТИЧЕСКИЕ АНИМАЦИИ ===== */
@keyframes salki-dot-move {
  0% { transform: translate(0, 0); }
  50% { transform: translate(10px, -10px); }
  100% { transform: translate(0, 0); }
}

@keyframes salki-connect {
  0% { stroke-dashoffset: 100; }
  100% { stroke-dashoffset: 0; }
}

/* ===== КАСТОМНЫЕ ТЕКСТОВЫЕ СТИЛИ ===== */
.salki-h1 {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--salki-black);
  margin-bottom: 20px;
}

.salki-h2 {
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 36px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--salki-black);
  margin-bottom: 16px;
}

.salki-h3 {
  font-family: 'Manropy', sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 1.3;
  color: var(--salki-black);
  margin-bottom: 12px;
}

.salki-body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  color: var(--salki-text);
}

.salki-accent {
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  color: var(--salki-red);
}

.salki-secondary {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--salki-text-secondary);
  font-style: italic;
}

/* ===== КАСТОМНЫЕ КНОПКИ ===== */
.salki-btn {
  display: inline-block;
  padding: 16px 32px;
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.salki-btn-primary {
  background: var(--salki-black);
  color: var(--salki-white);
}

.salki-btn-primary:hover {
  background: var(--salki-red);
  transform: translateY(-2px);
}

.salki-btn-secondary {
  background: transparent;
  color: var(--salki-black);
  border: 1px solid var(--salki-black);
}

.salki-btn-secondary:hover {
  background: var(--salki-black);
  color: var(--salki-white);
  transform: translateY(-2px);
}

/* ===== БЛОКИ ДЛЯ PROTOTYPE СТИЛЕЙ ===== */
.salki-protocol-block {
  border-left: 3px solid var(--salki-red);
  padding-left: 20px;
  margin: 30px 0;
  background: var(--salki-gray);
  padding: 30px;
}

.salki-kinetic-dots {
  position: relative;
  padding: 40px 0;
}

.salki-dot {
  width: 6px;
  height: 6px;
  background: var(--salki-red);
  border-radius: 50%;
  position: absolute;
  animation: salki-dot-move 3s infinite ease-in-out;
}

.salki-dot:nth-child(1) { top: 10%; left: 20%; animation-delay: 0s; }
.salki-dot:nth-child(2) { top: 30%; left: 80%; animation-delay: 0.5s; }
.salki-dot:nth-child(3) { top: 70%; left: 40%; animation-delay: 1s; }
.salki-dot:nth-child(4) { top: 50%; left: 60%; animation-delay: 1.5s; }

/* ===== СТИЛИ ДЛЯ ФОРМ ===== */
.salki-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  transition: all 0.3s ease;
  background: var(--salki-white);
}

.salki-input:focus {
  outline: none;
  border-color: var(--salki-black);
  box-shadow: 0 0 0 2px rgba(0,0,0,0.1);
}

.salki-label {
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--salki-black);
  margin-bottom: 8px;
  display: block;
}

/* ===== МОДИФИКАТОРЫ ДЛЯ TILDA БЛОКОВ ===== */
.t396 .tn-atom {
  transition: all 0.3s ease;
}

.t396 .tn-atom:hover {
  transform: translateY(-2px);
}

/* Стили для карточек проектов */
.tn-atom__project-card {
  position: relative;
  overflow: hidden;
}

.tn-atom__project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,59,48,0.1), transparent);
  transition: left 0.6s ease;
  z-index: 1;
}

.tn-atom__project-card:hover::before {
  left: 100%;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 1200px) {
  .salki-h1 { font-size: 42px; }
  .salki-h2 { font-size: 32px; }
}

@media (max-width: 768px) {
  .salki-h1 { font-size: 36px; }
  .salki-h2 { font-size: 28px; }
  .salki-h3 { font-size: 22px; }
  .salki-body { font-size: 16px; }
  
  .salki-btn {
    padding: 14px 28px;
    font-size: 15px;
  }
  
  .salki-protocol-block {
    padding: 20px;
    margin: 20px 0;
  }
}

@media (max-width: 480px) {
  .salki-h1 { font-size: 32px; }
  .salki-h2 { font-size: 24px; }
}

/* ===== УТИЛИТЫ ===== */
.salki-text-center { text-align: center; }
.salki-text-left { text-align: left; }
.salki-text-right { text-align: right; }

.salki-mb-20 { margin-bottom: 20px; }
.salki-mb-40 { margin-bottom: 40px; }
.salki-mt-40 { margin-top: 40px; }

.salki-opacity-60 { opacity: 0.6; }

/* ===== СТИЛИ ДЛЯ HEADER И FOOTER ===== */
.salki-header {
  border-bottom: 1px solid var(--salki-gray);
  background: var(--salki-white);
}

.salki-footer {
  border-top: 1px solid var(--salki-gray);
  background: var(--salki-white);
  padding: 60px 0 40px;
}

/* ===== КИНЕТИЧЕСКИЙ БЭКГРАУНД ===== */
.salki-kinetic-bg {
  position: relative;
  overflow: hidden;
}

.salki-kinetic-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(255,59,48,0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,59,48,0.05) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(0,0,0,0.03) 0%, transparent 50%);
  z-index: -1;
  animation: salki-dot-move 20s infinite linear;
}
