/* ==========================================================================
   Переменные и базовые стили
   ========================================================================== */
:root {
  --primary: #0d6efd;
  --accent: #f96631;
  --dark: #314158;
  --light-text: #CAD5E2;
  --overlay: rgba(0, 0, 0, 0.55);
  --faq-bg: #f0f7ff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: #222;
}

.check-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
  margin-right: 14px;
}

/* и в HTML используй этот класс для всех иконок в списках */

/* ==========================================================================
   Hero
   ========================================================================== */
.section-top {
  position: relative;
  height: 95vh;
  min-height: 640px;
  overflow: hidden;
}

.video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay);
  z-index: -1;
}

.section-top-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding: 1.5rem;
}

.section-top-content h1 {
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  font-weight: 900;
  margin: 0 0 1.2rem;
  line-height: 1.1;
}

.section-top-content h3 {
  font-size: clamp(1.6rem, 4.5vw, 2.4rem);
  font-weight: 400;
  margin: 0 0 2rem;
}

.section-top-content p {
  font-size: clamp(1.2rem, 3.5vw, 1.5rem);
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

/* Кнопки в hero */
.hero-buttons {
  max-width: 520px;
  width: 100%;
}

.btn-hero {
  padding: 1rem 2.2rem;
  font-size: 1.2rem;
  border-radius: 0.7rem;
  font-weight: 700;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-hero:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.btn-accent {
  background: var(--accent);
  color: white;
  border: none;
}

.btn-accent:hover {
  background: #ff7a48;
}

.btn-hero.btn-primary {
  background: var(--primary);
  border: none;
}

/* ==========================================================================
   Анимации появления
   ========================================================================== */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s ease-out, transform 0.9s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Задержки для карточек процесса */
.process-step:nth-child(1) {
  transition-delay: 0.15s;
}

.process-step:nth-child(2) {
  transition-delay: 0.3s;
}

.process-step:nth-child(3) {
  transition-delay: 0.45s;
}

.process-step:nth-child(4) {
  transition-delay: 0.6s;
}

/* ==========================================================================
   Общие контейнеры
   ========================================================================== */
.section-middle {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* secmid1 */
.secmid1 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding: 5rem 0;
  align-items: center;
}

.secmid1-img img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.5s ease;
}

.secmid1-img img:hover {
  transform: scale(1.03);
}

.secmid1-text h1 {
  font-size: 2.6rem;
  margin-bottom: 1.8rem;
}

.secmid1-ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2.5rem;
}

.secmid1-ul li {
  display: flex;
  align-items: center;
  font-size: 1.35rem;
  margin-bottom: 1.1rem;
}


.check-icon {
  width: 28px;
  height: 28px;
  margin-right: 14px;
  transition: transform 0.4s ease;
}

.secmid1-ul li:hover .check-icon {
  transform: scale(1.25) rotate(10deg);
}

/* Остальные секции (очень кратко, чтобы не удлинять) */
.secfill {
  background: url("media/6.jpg") center/cover;
  color: white;
  text-align: center;
  padding: 7rem 1.5rem 8rem;
}

.secfill h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  margin: 0;
}

.solution,
.pricing {
  padding: 6rem 0;
}

.solution-content,
.pricing-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.solution-content img,
.pricing-content img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.5s ease;
}

.solution-content img:hover,
.pricing-content img:hover {
  transform: scale(1.03);
}

.audience {
  padding: 5rem 0;
}

.audience-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
}

.process {
  padding: 6rem 0;
}

.process-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.process-step {
  background: #f8f9fa;
  padding: 2.2rem 1.8rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.circle {
  width: 56px;
  height: 56px;
  background: #ff4444;
  color: white;
  border-radius: 50%;
  font-size: 1.7rem;
  font-weight: bold;
  line-height: 56px;
  margin: 0 auto 1.3rem;
}

.risk-bg {
  background: var(--dark);
  color: var(--light-text);
}

.risk {
  padding: 6rem 0;
  text-align: center;
}

.risk h2 {
  font-size: clamp(2.3rem, 5vw, 3.8rem);
}

.risk p {
  font-size: 1.5rem;
}


.faq-bg {
  background: var(--faq-bg);
}

.faq {
  padding: 5rem 0;
}

.faq-content {
  max-width: 820px;
  margin: 0 auto;
}

.faq-question {
  width: 100%;
  padding: 1.3rem 0;
  background: none;
  border: none;
  border-bottom: 1px solid #d0d0d0;
  text-align: left;
  font-size: 1.28rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item.active .faq-question {
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0;
  transition: all 0.45s ease;
  opacity: 0;
}

.faq-item.active .faq-answer {
  max-height: 800px;
  padding: 1.4rem 0 2rem;
  opacity: 1;
}

.footer {
  background: var(--dark);
  color: var(--light-text);
  padding: 5rem 1rem 4rem;
  text-align: center;
}

.footer h3 {
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 2rem;
}

li {
  font-size: 1.3rem;
}

p {
  font-size: 1.3rem;
}

/* ==========================================================================
   Адаптив
   ========================================================================== */
@media (max-width: 992px) {

  .secmid1,
  .solution-content,
  .pricing-content,
  .audience-content {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
}

@media (max-width: 768px) {
  .section-top {
    min-height: 80vh;
  }

  .section-top-content h1 {
    font-size: clamp(2.4rem, 8vw, 4rem);
  }

  .section-top-content h3 {
    font-size: 1.7rem;
  }

  p {
    font-size: 1.2rem;
  }

  li {
    font-size: 1.2rem;
  }

  .secmid1,
  .solution,
  .audience,
  .process,
  .pricing,
  .risk,
  .faq {
    padding: 4rem 0;
  }
}


.secmid1-ul .check-icon {
  width: 28px !important;
  height: 28px !important;
  object-fit: contain !important;
  flex: 0 0 28px;
  /* не растёт и не сжимается */
  margin-right: 14px;
}

/* Убираем возможное влияние от flex на картинку */
.secmid1-ul li img {
  flex: none;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
}

@media (min-width: 768px) {
  .footer-links {
    flex-direction: row;
    gap: 24px;
    justify-content: center;
  }
}