/* * { box-sizing: border-box; } */

    body {
      margin: 0;
      background:
        radial-gradient(circle at top left, #eef4ff 0%, #f7f9fc 38%, #f6f7fb 100%);
      color: #1f2937;
    }

    body .page .card {
      font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
      /* font-family: Inter, Arial, sans-serif; */
    }

    .page-content .page {
      max-width: 860px;
      margin: 0px auto;
      padding: 0 18px 50px;
    }

    .page {
      max-width: 860px;
      margin: 0px auto;
      /* padding: 0 18px 50px; */
    }

    .ispage .page-content .page .card h2.ai-title {
      margin: 0;
      margin: 0;
      font-size: 20px;
      font-weight: 800;
      color: #111827;
      font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    }


    .ispage .container-new .page-content {
      /* max-width: 860px; */
      margin: 0 auto;
    }
    
    .ispage .container-new .page-content-new {
      /* max-width: 860px; */
      margin: 0 auto;
      border-bottom-left-radius: 20px;
      border-bottom-right-radius: 20px;
      padding-top: 20px;
          border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    margin-top: 15px;
    }

    .ispage .page .card p.text {
      background-color: #EFF2FA;
      padding: 15px;
      border-radius: 15px;
      margin: 0;
      border-top-left-radius: 0;
    }






/* ===== HEADER ===== */

/* .header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding-top: 2px;
  padding-bottom: 2px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e5e7eb;
} */

/* .header-container {
max-width: 780px;
  margin: 0 auto;


  display: flex;
  align-items: center;
  justify-content: space-between;
} */


/* 👇 магия */
/* .header-right {
  margin-left: auto; 
  display: flex;
  align-items: center;
  gap: 10px;
} */


/* .burger {
  width: 36px;
  height: 36px;
  border: none;
  background: #f1f5f9;
  border-radius: 8px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;

  cursor: pointer;
  position: relative;
} */

/* .burger span {
  display: block;
  height: 2px;
  width: 18px;
  background: #1f2937;
  margin: 0 auto;

  transition: all 0.3s ease;
} */

/* 🔥 АНИМАЦИЯ */

/* верхняя линия */
/* .burger.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
} */

/* средняя исчезает */
/* .burger.active span:nth-child(2) {
  opacity: 0;
} */

/* нижняя линия */
/* .burger.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
} */














/* логотип */
/* .header-logo img {
  height: 39px;
  display: block;
} */

/* вход */
/* .header-login {
  display: flex;
  align-items: center;
  gap: 6px;

  font-size: 14px;
  font-weight: 600;
  color: #334155;

  text-decoration: none;
} */

/* .header-login svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
} */

/* hover */

/* .header-login:hover {
  color: #2563eb;
} */


/* .breadcrumbs {
  max-width: 780px;
  margin: 40px auto 14px;
  padding: 0 18px;
  background: rgba(255,255,255,0.6);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
} */

/* .breadcrumbs ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
} */

/* .breadcrumbs li {
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  color: #64748b;
}

.breadcrumbs li:not(:last-child)::after {
  content: "›";
  margin-left: 10px;
  color: #94a3b8;
}

.breadcrumbs a {
  color: #475569;
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumbs a:hover {
  color: #2563eb;
}

.breadcrumbs li:last-child {
  color: #0f172a;
  font-weight: 600;
} */




/* .book {
  max-width: 860px;
  margin: 20px auto;
  padding: 20px;

  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  border-radius: 20px;

  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
}

.book:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.1);
} */

/* заголовок */
/* .book h1 {
  margin: 0 0 18px;
  font-size: 22px;
  line-height: 1.3;
} */

/* layout */
/* .book {
  display: grid;
  grid-template-columns: 125px 1fr;
  gap: 20px;
} */

/* картинка */
/* .img-wrapper {
  width: 100%;
} */

/* .img-wrapper img {
  width: 100%;
  border-radius: 14px;
  display: block;
} */

/* списки */
/* .spisok {
  margin: 0;
  padding: 0;
  list-style: none;

  display: grid;
  gap: 6px;

  font-size: 14px;
  color: #475569;
} */

/* .spisok li {
  line-height: 1.5;
}

.spisok li.aut {
  color: #0f172a;
  font-weight: 500;
} */

/* разделитель */
/* .separator {
  height: 1px;
  background: #e2e8f0;
  margin: 14px 0;
} */

/* share */
/* .share-block {
  display: flex;
  align-items: center;
  gap: 10px;

  margin: 10px 0;
  font-size: 14px;
} */

/* .share {
  color: #64748b;
  font-weight: 500;
} */

/* соц кнопки */
/* .share-block a {
  width: 32px;
  height: 32px;

  border-radius: 8px;
  background: #f1f5f9;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  transition: 0.2s;
} */

/* .share-block a:hover {
  background: #e2e8f0;
  transform: translateY(-1px);
} */

/* иконки (пример) */
/* .telegram::before {
  content: "✈";
}

.vk::before {
  content: "VK";
  font-size: 12px;
} */

/* правая часть (контент) */
/* .book > *:not(.img-wrapper) {
  grid-column: 2;
} */

/* картинка в своей колонке */
/* .book .img-wrapper {
  grid-row: 1 / span 4;
} */

/* адаптив */
/* @media (max-width: 640px) {
  .book {
    grid-template-columns: 1fr;
  }

  .img-wrapper {
    grid-row: auto;
    max-width: 220px;
  }
} */




















    .hero {
      background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
      color: #fff;
      border-radius: 24px;
      padding: 28px 26px;
      box-shadow: 0 18px 50px rgba(37, 99, 235, 0.22);
      margin-bottom: 20px;
    }

    .hero__badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(255,255,255,0.16);
      border: 1px solid rgba(255,255,255,0.18);
      border-radius: 999px;
      padding: 8px 12px;
      font-size: 13px;
      font-weight: 600;
      margin-bottom: 14px;
      backdrop-filter: blur(8px);
    }

    .hero h1 {
      margin: 0 0 8px;
      font-size: 30px;
      line-height: 1.15;
    }

    .hero p {
      margin: 0;
      font-size: 15px;
      line-height: 1.55;
      color: rgba(255,255,255,0.9);
      max-width: 680px;
    }

    .card {
      background: rgba(255,255,255,0.94);
      backdrop-filter: blur(10px);
      border: 1px solid rgba(15, 23, 42, 0.06);
      border-radius: 22px;
      padding: 22px;
      box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
      margin-bottom: 18px;
      position: relative;
    }

    .section-title {
      margin: 0 0 14px;
      font-size: 18px;
      font-weight: 800;
      color: #111827;
    }

    .task-list {
      margin: 0;
      padding-left: 20px;
      line-height: 1.75;
      font-size: 16px;
    }

    .answer-box {
      margin-top: 10px;
      position: relative;
      /* background: linear-gradient(180deg, #f0fdf4 0%, #dcfce7 100%); */
      /* border: 1px solid #86efac; */
      border-radius: 15px;
      border-top-left-radius: 0;
      padding: 25px 18px 18px 18px;

      border: 1.5px solid #76EC00;
    }

    .answer-label {
      display: inline-block;
      margin-bottom: 10px;
      font-size: 12px;
      font-weight: 800;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: #2563eb;
    }

    .answer-text {
      margin: 0;
      line-height: 1.4;
      font-size: 16px;
    }

     .answer-box p span.otvet {
    font-weight: 600;
 }

 .answer-box p span {
    display: block;
    font-size: 16px;
    line-height: 22px;
}

     .answer-text p {
      margin: 0;
     }

    .ai-head {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      gap: 12px;
      align-items: center;
      margin-bottom: 10px;
      margin-top: 25px;
    }

    .ai-title {
      margin: 0;
      font-size: 20px;
      font-weight: 800;
      color: #111827;
    }

    .usage-pill {
      font-size: 13px;
      font-weight: 700;
      color: #374151;
      background: #f3f4f6;
      border-radius: 999px;
      padding: 8px 12px;
    }

    .buttons {
      display: grid;
      /* grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); */
      grid-template-columns: 230px 230px;
      gap: 12px;
    }

    .buttons .btn {
      border: 0;
      border-radius: 16px;
      /* padding: 14px 16px; */
      font-size: 14px;
      font-weight: 700;
      cursor: pointer;
      transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
      max-width: 250px;
      padding: 12px 16px
    }

    .buttons .btn:hover {
      transform: translateY(-1px);
    }

    .buttons .btn:active {
      transform: translateY(0);
    }

    .buttons .btn-primary {
      background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
      color: #fff;
      box-shadow: 0 10px 24px rgba(37, 99, 235, 0.22);
      width: auto;
      margin: 0;
      min-height: 42px;
    }


    .buttons .btn-primary.red {
      background: #EB1C4E;
    }
    

    .buttons .btn-secondary {
      background: #eef2ff;
      color: #3730a3;
    }

    .buttons .btn-soft {
      background: #ecfeff;
      color: #155e75;
    }

.close-btn {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 5;

  width: 32px;
  height: 32px;
  border: none;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);

  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  color: #64748b;
  font-weight: 700;
}

.close-btn:hover {
  color: #111827;
  background: #f8fafc;
}







    .ai-container {
      margin-top: 16px;
    }

    .loading-box,
    .result-box,
    .paywall-box {
      border-radius: 18px;
      padding: 18px;
      animation: fadeIn 0.24s ease;
    }

    .result-box .uslovie {
      /* background-color: #EFF2FA;
      padding: 15px; */
      border-radius: 15px;
      border-top-left-radius: 0;
    }

    .result-box .uslovie p, .result-box .idea p {
      margin: 0;
    }







    .loading-box {
      background: #f8fafc;
      border: 1px solid #e5e7eb;
      display: flex;
      align-items: center;
      gap: 12px;
      font-weight: 700;
      color: #374151;
    }

    .spinner {
      width: 18px;
      height: 18px;
      border-radius: 50%;
      border: 2px solid #cbd5e1;
      border-top-color: #2563eb;
      animation: spin 0.9s linear infinite;
      flex: 0 0 auto;
    }

    .result-box {
      position: relative;
      background: linear-gradient(180deg, #fbfdff 0%, #f6f9ff 100%);
      border: 1px solid #dbeafe;
    }

    .result-title {
      margin: 0 0 14px;
      font-size: 17px;
      font-weight: 800;
      color: #1d4ed8;
    }





    .result-box .full-answer {
      color: #76EC00;
      margin-bottom: 0;
    }


    .result-box .answer-box {
      padding: 15px 18px 18px 18px;
    }

    
   
    
    .bottom-line {
      border-bottom: 1px solid #e5eefc;
    }

    

    .step {
      display: flex;
      gap: 12px;
      align-items: flex-start;
      padding: 12px 0;
      border-top: 1px solid #e5eefc;
      align-items: center;
    }

    .step:first-of-type {
      border-top: 0;
      padding-top: 0;
    }

    .step-num {
      /* width: 30px; */
      height: 30px;
      padding-left: 12px;
    padding-right: 11px;
      border-radius: 999px;
      background: #dbeafe;
      color: #1d4ed8;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 13px;
      font-weight: 800;
      flex: 0 0 auto;
      margin-top: 2px;
    }

    .step p {
      margin: 0;
      line-height: 22px;
    }

    .step p span {
      display: block;
    }

    .result-footer {
      margin-top: 14px;
      padding-top: 14px;
      border-top: 1px dashed #cbd5e1;
      font-size: 15px;
      color: #334155;
    }

    .paywall-box {
      background: linear-gradient(135deg, #fff8e8 0%, #fff1c9 100%);
      border: 1px solid #f6d47a;
      position: relative;
    }

    .paywall-box h3 {
      margin: 0 0 10px;
      font-size: 20px;
    }

    .paywall-box p {
      margin: 0 0 14px;
      line-height: 1.65;
    }

    .paywall-features {
      display: grid;
      gap: 8px;
      margin: 0 0 18px;
      padding: 0;
      list-style: none;
    }

    .paywall-features li {
      font-size: 15px;
      line-height: 1.5;
    }

    .paywall-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .btn-pay {
      background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
      color: white;
      box-shadow: 0 10px 24px rgba(249, 115, 22, 0.22);
    }

    .btn-light {
      background: rgba(255,255,255,0.7);
      color: #7c2d12;
    }

    .page .bottom-link {
      margin-top: 14px;
      color: #2563eb;
      font-weight: 700;
      cursor: pointer;
      user-select: none;
      font-size: 16px;
    }

    .page .bottom-link:hover {
      text-decoration: underline;
    }


    .card span.nomer {
      padding-bottom: 1px;
      display: inline-block;
      /* padding: 10px 25px; */
      /* border-radius: 15px; */

      /* position: absolute; */

      color: #333;
    font-weight: 700;
    /* background: #fff; */
    font-size: 17px;

    border-bottom: 2px solid #333;
    margin-bottom: 10px;


    }

    /* .ispage .page-content .card p.text {
    background-color: #EFF2FA;
    padding: 15px;
    border-radius: 15px;
    margin: 0;
    border-top-left-radius: 0;
    } */

    .card p.ai-help {
      font-weight: 800;
      font-size: 24px;
      margin: 0 0 25px;
      padding-right: 15px;
      text-align: left;
    }


    .answer-top {
    display: inline-block;
    margin: 0;
    top: -17px;
    left: -1px;
    position: absolute;
    }

    .answer-top span {
      display: inline-block;
      font-size: 15px;
      font-weight: 700;
      /* color: #166534; */
      color: #104926;
      /* background: #bbf7d0; */
      background-color: #76EC00;
      /* padding: 6px 18px 7px 18px; */
      /* padding: 4px 18px 5px 18px; */
      padding: 3px 18px 4px 18px;
      /* border: 1px solid #86efac; */
      border-bottom-left-radius: 0;
      border: 1.5px solid #76EC00;

      border-bottom-right-radius: 15px;
      border-top-left-radius: 15px;
      border-top-right-radius: 15px;
    }



    .result-answer {
  display: flex;
  align-items: center;
  gap: 16px;

  margin-top: 20px;
  padding: 18px 22px;

  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: 16px;

  color: #15803d;
}


.answer-check {
  width: 42px;
  height: 42px;
  min-width: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #22c55e;
  color: #fff;

  border-radius: 50%;

  font-size: 26px;
  font-weight: 700;
  line-height: 1;
}

.answer-result-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.answer-result-text b {
  font-size: 18px;
  color: #15803d;
}

.answer-result-text span {
  font-size: 18px;
  font-weight: 600;
  color: #15803d;
}

.simple-explanation {
  margin-top: 28px;
  padding: 22px 24px;

  background: #f3f8ff;
  border: 1px solid #d7e7ff;
  border-radius: 16px;
}

.simple-title {
  display: flex;
  align-items: center;
  gap: 9px;

  margin-bottom: 12px;

  color: #2456d6;
  font-size: 20px;
  font-weight: 700;
}

.simple-icon {
  font-size: 22px;
}

.simple-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;

  padding: 14px 0;
  border-bottom: 1px solid #dce8f8;
}

.simple-step:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.simple-step > span {
  display: flex;
  align-items: center;
  justify-content: center;

  min-width: 34px;
  height: 34px;

  background: #dbeafe;
  color: #2563eb;

  border-radius: 50%;
  font-weight: 700;
}

.simple-step p {
  margin: 3px 0 0;
}

.remember-rule {
  margin-top: 24px;
  padding: 20px 22px;

  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 16px;

  color: #374151;
}

.remember-title {
  display: flex;
  align-items: center;
  gap: 9px;

  margin-bottom: 10px;

  color: #b45309;
  font-size: 20px;
  font-weight: 700;
}

.remember-rule p {
  margin: 0;
  line-height: 1.6;
}

.task-year {
  animation: yearFadeIn 0.32s cubic-bezier(.22,.61,.36,1);
}

.uslovie p.description-text {
  background: #fff;
  border-radius: 15px;
  margin-top: 15px;
  margin-bottom: 15px;
}


@keyframes yearFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
    



    .year-tabs {
      margin-bottom: 20px;
    }

    .year-tabs input[type="radio"] {
      position: absolute;
      opacity: 0;
      width: 0;
      height: 0;
      pointer-events: none;
    }

    .year-switcher-wrap {
      display: flex;
      align-items: center;
      gap: 16px;
      padding: 16px 18px;
      background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
      border: 1px solid #dbe7ff;
      border-radius: 22px;
      box-shadow: 0 14px 36px rgba(37, 99, 235, 0.10);
    }

    .rover-box {
      width: 96px;
      min-width: 92px;
      height: 96px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 20px;
      background: radial-gradient(circle at 35% 30%, #ffffff 0%, #eef4ff 60%, #e4edff 100%);
      /* box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.95),
        0 10px 24px rgba(79, 70, 229, 0.10); */
    }

    .rover-box img {
      width: 70px;
      height: 70px;
      object-fit: contain;
      display: block;
    }

    .year-copy {
      min-width: 0;
      flex: 1;
    }

    .year-copy-title {
      margin: 0 0 4px;
      font-size: 16px;
      line-height: 1.25;
      font-weight: 800;
      color: #0f172a;
      font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    }

    .ispage .year-copy-text {
      margin: 2px 0 12px;
      font-size: 16px;
      line-height: 1.35;
      color: #64748b;
      font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    }

    .year-switcher {
      position: relative;
      display: inline-flex;
      align-items: center;
      gap: 4px;
      padding: 4px;
      background: #eef2ff;
      border: 1px solid #d9e2ff;
      border-radius: 16px;
      box-shadow: inset 0 1px 1px rgba(255,255,255,0.75);
      overflow: hidden;
      isolation: isolate;
    }

    .year-bg {
      position: absolute;
      top: 4px;
      left: 4px;
      width: calc((100% - 12px) / 2);
      height: calc(100% - 8px);
      border-radius: 12px;
      background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
      border: 1px solid rgba(255,255,255,0.95);
      transition: transform 0.28s cubic-bezier(.22,.61,.36,1);
      will-change: transform;
      z-index: 1;
    }


    .year-btn {
      position: relative;
      z-index: 2;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 92px;
      padding: 10px 18px;
      border-radius: 12px;
      font-size: 14px;
      line-height: 1;
      font-weight: 800;
      color: #64748b;
      cursor: pointer;
      user-select: none;
      white-space: nowrap;
      transition: color 0.2s ease;
      font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    }

    .year-btn:hover {
      color: #334155;
    }

#year2024:checked ~ .year-switcher-wrap .year-switcher .year-bg {
    transform: translateX(0);
}

#year2025:checked ~ .year-switcher-wrap .year-switcher .year-bg {
    transform: translateX(calc(100% + 4px));
}

#year2024:checked ~ .year-switcher-wrap .year-btn-2024,
#year2025:checked ~ .year-switcher-wrap .year-btn-2025 {
    color: #111827;
}




    .year-content {
      position: relative;
    }

    .year-panel {
      display: none;
      animation: fadeIn 0.24s ease;
    }




.tasks-page {
  background: transparent;
  box-shadow: none;
  border: none;
  border-radius: 0;
  padding: 0;
}

.tasks-zone {
  background: transparent;
}

.tasks-page {
  background: transparent;
  box-shadow: none;
  border: 0;
  padding: 0;
}



.rover-card {
  width: calc(100% - 32px);
  max-width: 860px;
  margin: 24px auto 18px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 22px;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
  box-sizing: border-box;
}

.page-content-new .author {
  display: block;
  text-align: center;
  padding-top: 15px;
  margin-bottom: 0;
}


@media (max-width: 600px) {
  .rover-card {
    width: 100%;
    margin-top: 16px;
    margin-bottom: 14px;
    border: none;
    box-shadow: none;
    background: none;
  }

  .rover-card .year-switcher-wrap {
    padding: 16px;
    border: none;
    text-align: center;
    box-shadow: none;
    background: none;
  }

  .rover-box {
    display: inline-block;
    background: repeating-conic-gradient(black 0deg 25%, white 0deg 50%);
  }
}





/* .footer {
  margin-top: 60px;
  padding: 50px 0 30px; */

  /* background: linear-gradient(180deg, #ffffff 0%, #f3f7ff 100%); */

  /* background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
  border-top: 1px solid #e5e7eb; */

  /* background: linear-gradient(180deg, #f8fafc 0%, #e8f0ff 100%);
  border-top: 1px solid #dbeafe;

  position: relative;

  position: relative;
  overflow: hidden;
} */

/* мягкое свечение */
/* .footer::before {
  content: "";
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 260px;
  background: radial-gradient(circle, rgba(37,99,235,0.12), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
} */


/* контейнер */
/* .footer-container {
  max-width: 816px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
} */

/* верх */
/* .footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
} */

/* бренд */
/* .footer-brand {
    max-width: none;
  width: 100%;
}

.footer-logo {
  width: 150px;
}

.footer-slogan {
  font-size: 14px;
  color: #64748b;
  margin-top: 0;
  max-width: 260px;
  margin-bottom: 15px;
} */

/* соц */
/* .footer-socials {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}

.social {
  width: 40px;
  height: 40px;
  background: #f1f5f9;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.social img {
  width: 32px;
  transition: transform 0.2s ease;
  border-radius: 8px;
}

.social:hover {
  background: #dbeafe;
  transform: translateY(-2px);
}

.social:hover img {
  transform: scale(1.1);
} */


.video-razbor .img-wrapper {
  margin-top: 15px;
  max-height: 380px;
}

.video-razbor .img-wrapper img {
  width: 100%;
  max-height: 380px;
}










/* кнопка */
.footer-error {
  background: linear-gradient(135deg, #EB1C4E 0%, #ff4d6d 100%);
  color: white;

  border: none;
  border-radius: 8px;
  padding: 10px 14px;

  font-size: 13px;
  font-weight: 700;

  cursor: pointer;
  transition: all 0.25s ease;
}

.footer-error:hover {
  transform: translateY(-3px);
  box-shadow:
    0 10px 25px rgba(235,28,78,0.35),
    0 0 12px rgba(235,28,78,0.25);
}

/* ссылки */
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 40px;
  margin-bottom: 20px;
}

.footer-links a {
  font-size: 15px;
  color: #475569;
  text-decoration: none;
}

.footer-links a:hover {
  color: #2563eb;
}

/* юр */
.footer-legal {
  font-size: 14px;
  color: #94a3b8;
  margin-bottom: 25px;
}

.footer-legal a {
  margin-right: 14px;
  color: inherit;
}

/* низ */
.footer-bottom {
  border-top: 1px solid #e5e7eb;
  padding-top: 15px;
  display: flex;
}

/* платежки */
.footer-payments {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 15px;
}

.pay img {
  height: 18px;
}

.pay.tbank img {
  height: 19px;
}

/* 🚗 Ровер в футере */
.footer-rover {
  opacity: 0.9;
  pointer-events: none; /* не мешает кликам */
}

.footer-copy {
  font-size: 12px;
  color: #94a3b8;
}

.footer-rover img {
  width: 120px;
  transition: transform 0.4s ease;
}

/* лёгкое движение при hover футера */
.footer:hover .footer-rover img {
  transform: translateY(-6px) rotate(-2deg);
}

.footer-social-row {
  display: flex;
  align-items: center;
  width: 100%;
}

.footer-error--inline {
  margin-top: 7px;
  margin-left: 40px;
  padding: 10px 25px;
  font-size: 14px;
  border-radius: 10px;
}






/* адаптив */
@media (max-width: 640px) {
  .footer-rover {
    display: none;
  }
}



/* 📱 мобильная версия */
@media (max-width: 640px) {

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-error {
    align-self: flex-start;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}







    @keyframes spin {
      to { transform: rotate(360deg); }
    }

    @keyframes fadeIn {
      from {
        opacity: 0;
        transform: translateY(6px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @media (max-width: 640px) {
      .hero h1 {
        font-size: 24px;
      }

      .card {
        padding: 18px 15px;
      }

      .buttons {
        grid-template-columns: 1fr;
      }
    }