/* ============================= */
/* PROSTORA — TILDA SAFE CSS */
/* ============================= */

.uc-prostora {
    
    /* Блок 1: Стили для героя */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: white;
  text-align: center;
}

.hero__bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 1;
  object-fit: cover;
}

.hero__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 30, 70, 0.5) 0%, rgba(80, 120, 180, 0.3) 100%);
  z-index: 2;
}

.hero__content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 0 20px;
  animation: fadeInUp 1s ease-out;
}

.hero__title {
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 300;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.hero__title-word {
  display: inline-block;
  opacity: 0;
  animation: fadeInWord 0.8s ease forwards;
  animation-delay: 0.3s;
}

.hero__subtitle {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 300;
  margin-bottom: 40px;
  opacity: 0.9;
  line-height: 1.4;
}

.hero__buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.btn {
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  border: 2px solid transparent;
  font-weight: 500;
}

.btn--primary {
  background-color: #4A6FA5;
  color: white;
}

.btn--primary:hover {
  background-color: #3A5A8C;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn--secondary {
  background-color: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
}

.btn--secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: white;
  transform: translateY(-3px);
}

.hero__scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0.7;
  font-size: 0.9rem;
  animation: bounce 2s infinite;
}

.scroll-arrow {
  fill: white;
  animation: arrowDown 1.5s infinite;
}

/* Анимации */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInWord {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes arrowDown {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}

/* Адаптивность */
@media (max-width: 768px) {
  .hero {
    min-height: 600px;
  }
  
  .hero__buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }
  
  .hero__scroll-hint {
    bottom: 20px;
  }
}

/* Если видео не поддерживается или на мобильных */
@media (max-width: 1024px) {
  .hero__bg-video {
    display: none;
  }
  
  .hero {
    background-image: url('https://images.unsplash.com/photo-1446776653964-20c1d3a81b06?q=80&w=2071');
    background-size: cover;
    background-position: center;
  }
}


/* Блок 2: Философия */
.philosophy {
  padding: 100px 0;
  background-color: #F8FAFC;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.philosophy__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 30px;
  line-height: 1.2;
}

.section-title__accent {
  font-weight: 600;
  color: #4A6FA5;
  position: relative;
}

.section-title__accent::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #4A6FA5;
  transform: scaleX(0);
  animation: lineExpand 1s ease forwards;
  animation-delay: 0.5s;
}

.philosophy__content {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555;
}

.philosophy__content p {
  margin-bottom: 20px;
}

.text-accent {
  color: #4A6FA5;
  font-weight: 500;
}

/* Инфографика */
.infographic {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.infographic__before,
.infographic__after {
  flex: 1;
  text-align: center;
}

.infographic__label {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #333;
}

.infographic__elements {
  position: relative;
  height: 200px;
  border-radius: 10px;
  padding: 20px;
}

.infographic__elements--chaos {
  background: linear-gradient(135deg, #FFE8E8 0%, #FFD6D6 100%);
  border: 2px dashed #FF7B7B;
}

.infographic__elements--order {
  background: linear-gradient(135deg, #E8F4FF 0%, #D6EAFF 100%);
  border: 2px solid #4A6FA5;
}

.element {
  position: absolute;
  width: 40px;
  height: 40px;
  background: #FF7B7B;
  border-radius: 8px;
  opacity: 0;
  animation: popIn 0.5s ease forwards;
  animation-delay: calc(var(--delay) * 1s);
}

.infographic__elements--chaos .element:nth-child(1) { top: 20px; left: 30px; }
.infographic__elements--chaos .element:nth-child(2) { top: 60px; left: 70px; background: #FFB86B; }
.infographic__elements--chaos .element:nth-child(3) { top: 30px; left: 120px; background: #6BFF7B; }
.infographic__elements--chaos .element:nth-child(4) { top: 100px; left: 40px; background: #6BB4FF; }
.infographic__elements--chaos .element:nth-child(5) { top: 130px; left: 100px; background: #C56BFF; }
.infographic__elements--chaos .element:nth-child(6) { top: 80px; left: 150px; background: #FF6BCD; }

.element--ordered {
  position: static;
  background: #4A6FA5 !important;
  opacity: 0;
  animation: slideIn 0.5s ease forwards;
  animation-delay: calc(var(--delay) * 1s);
}

.element-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.infographic__arrow {
  padding: 0 10px;
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(0);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes lineExpand {
  to {
    transform: scaleX(1);
  }
}

@media (max-width: 992px) {
  .philosophy__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .infographic {
    flex-direction: column;
    gap: 40px;
  }
  
  .infographic__arrow {
    transform: rotate(90deg);
    padding: 20px 0;
  }
}

/* Блок 3: Процесс */
.process {
  padding: 100px 0;
  background-color: white;
  position: relative;
  overflow: hidden;
}

.section-title--center {
  text-align: center;
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto 60px;
}

.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
  z-index: 2;
}

.process-step {
  text-align: center;
  padding: 30px 20px;
  background: white;
  border-radius: 15px;
  transition: all 0.3s ease;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

.process-step[data-step="1"] { animation-delay: 0.1s; }
.process-step[data-step="2"] { animation-delay: 0.2s; }
.process-step[data-step="3"] { animation-delay: 0.3s; }
.process-step[data-step="4"] { animation-delay: 0.4s; }

.process-step:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(74, 111, 165, 0.1);
}

.process-step__icon {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-step__number {
  position: absolute;
  bottom: -10px;
  right: -10px;
  background: #4A6FA5;
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
}

.process-step__title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
}

.process-step__description {
  color: #666;
  line-height: 1.6;
  font-size: 0.95rem;
}

.process__connector {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 200px);
  height: 2px;
  z-index: 1;
}

.process__line {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, #4A6FA5, transparent);
  opacity: 0.2;
}

@media (max-width: 1200px) {
  .process__steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  
  .process__connector {
    display: none;
  }
}

@media (max-width: 768px) {
  .process__steps {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}


}