/* --- ГЛАВНАЯ --- */
:root {
    --black: #111;
    --gray: #666;
    --radius-pill: 48px;
    --radius-chip: 36px;
    --radius-card: 32px;
    --container-width: 1200px;   /* можно 1140/1280 — как нужно */
    --container-pad-x: 20px;     /* единые боковые отступы */
  }

  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  body {
    font-family: "Space Grotesk", sans-serif;
    background: #fff;
    color: var(--black);
  }


.wrapper{
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  gap: 48px;

  /* контейнерность */
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 32px var(--container-pad-x);
  box-sizing: border-box;
}

@media (min-width: 1024px){
  .wrapper{
    flex-direction: row;
    gap: 64px;
    /* вертикальные отступы больше, горизонтальные такие же — чтобы держать сетку */
    padding: 64px var(--container-pad-x);
  }
}


  h1 {
    font-weight: 700;
    font-size: clamp(28px, 6vw, 56px);
    line-height: 1.15;
    margin-bottom: 24px;
  }

  .hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .chips {
    margin: 24px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }

  .chip {
    font-size: 14px;
    padding: 10px 26px;
    border-radius: var(--radius-chip);
    border: 1px solid #ccc;
    background: #fff;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .chip:hover {
    background: #f9f9f9;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transform: scale(1.02);
  }

  .cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
  }

  .btn {
    font-size: 16px;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--black);
    background: #fff;
    color: var(--black);
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .btn:hover {
    background: var(--black);
    color: #fff;
    transform: scale(1.04);
  }

  .btn.gradient-bg {
    background: linear-gradient(90deg, #00C6FF, #0072FF, #7F00FF);
    color: white;
    border: none;
  }

  .btn.gradient-bg:hover {
    opacity: 0.9;
    transform: scale(1.05);
  }

  .cards {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .card {
    background: #f5f5f5;
    border-radius: var(--radius-card);
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0,  0, 0.06);
  }

  .card h3 {
    font-size: 34px;
    margin-bottom: 12px;
  }

  .card p {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 0;
  }

  .card.big.with-bg {
    grid-column: span 1;
    height: 280px;
    padding: 0;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-card);
    background-image: url('https://static.tildacdn.com/tild6636-6465-4863-a531-396663316263/mobile-sl5.jpg');
    background-size: cover;
    background-position: center;
  }

  .card.big.with-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 0;
    border-radius: var(--radius-card);
  }

  @media (min-width: 768px) {
    .cards {
      grid-template-columns: 1fr 1fr;
    }

    .card.big.with-bg {
      grid-column: span 2;
    }
  }  /* ← добавлена закрывающая скобка media */

  .slider-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 80px 24px;
    font-family: sans-serif;
  }

  .slider-section h2 {
    font-size: 40px;
    text-align: center;
    margin-bottom: 32px;
  }

  .slider-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
  }

  .slider-buttons button {
    padding: 12px 24px;
    border-radius: 999px;
    border: none;
    background: #f5f5f5;
    cursor: pointer;
    transition: background 0.3s;
    font-size: 16px;
  }

  .slider-buttons button.active {
    background: black;
    color: white;
  }

  .slider-banner,
  .slider-banner:hover,
  .slider-content,
  .slider-content:hover {
    transform: none !important; /* отключаем любые внешние увеличения */
  }

  .slider-banner {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    height: 400px;
    background-size: cover;
    background-position: center;
    transition: background-image 0.5s ease;
    display: flex;
    align-items: center;
  }

  .slider-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
  }

  .slider-content {
    position: relative;
    z-index: 2;
    color: white;
    padding: 48px;
    max-width: 600px;
    border-radius: 16px;
    margin-left: 48px;
    background: none;
  }

  .slider-content small {
    font-size: 14px;
    opacity: 0.7;
    display: block;
    margin-bottom: 12px;
  }

  .slider-content h3 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 24px;
  }

  .slider-content button {
    padding: 14px 24px;
    border-radius: 999px;
    background: white;
    color: black;
    font-weight: 500;
    border: none;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.3s ease;
    display: inline-block;
    will-change: transform;
  }

  .slider-content button:hover {
    transform: scale(1.08); /* увеличивается только кнопка */
  }
  
  .course-heading {
    text-align: center;
    padding: 40px 20px;
    max-width: 640px;
    margin: 0 auto;
  }
  .gradient-title {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(90deg, #ff7e5f, #ff3c88, #7b2ff7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    margin-bottom: 20px;
  }
  .subtitle {
    font-size: 16px;
    color: #555;
    max-width: 560px;
    margin: 12px auto 0;
    line-height: 1.5;
    white-space: normal;
  }

  @media (max-width: 768px) {
      .fixit-grid {
        display: flex !important;
        flex-direction: column;
        gap: 24px !important;
      }

      .fixit-video {
        height: 280px !important;
      }

      .fixit-text-blocks {
        display: flex !important;
        flex-direction: column;
        height: auto !important;
        gap: 16px !important;
      }

      .fixit-card {
        padding: 20px !important;
        border-radius: 20px !important;
      }

      .fixit-card h3 {
        font-size: 22px !important;
      }

      .fixit-license {
        font-size: 16px !important;
        padding: 16px 20px !important;
        border-radius: 18px !important;
        min-height: auto !important;
        text-align: center;
      }
    }

    .partner-slider {
      display: flex;
      align-items: flex-start;
      gap: 60px;
      padding: 80px 60px;
      font-family: sans-serif;
      overflow-x: hidden;
    }

    .partner-text {
      flex: 1;
      min-width: 320px;
    }

    .partner-text h2 {
      font-size: 32px;
      font-weight: 700;
      margin-bottom: 24px;
    }

    .btn {
      padding: 16px 32px;
      font-size: 16px;
      font-weight: 600;
      border-radius: 999px;
      cursor: pointer;
      transition: all 0.3s ease;
      border: none;
    }

    .btn.gradient-bg {
      background: linear-gradient(90deg, #00C6FF, #0072FF, #7F00FF);
      color: white;
      box-shadow: 0 6px 12px rgba(0, 114, 255, 0.25);
    }

    .btn.gradient-bg:hover {
      transform: scale(1.05);
      box-shadow: 0 8px 16px rgba(0, 114, 255, 0.35);
      opacity: 0.95;
    }

    .partner-cards-wrapper {
      flex: 2;
      overflow: hidden;
    }

    .partner-cards {
      display: flex;
      gap: 24px;
      /* animation: scrollCards 20s linear infinite; */ /* ← опечатка была: - animation */
    }

    .course-card {
      min-width: 300px;
      height: 440px;
      border-radius: 32px;
      padding: 32px 24px;
      text-align: center;
      flex-shrink: 0;
      box-shadow: 0 0 12px rgba(0, 0, 0, 0.05);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .course-card .partner {
      font-size: 14px;
      color: #444;
      margin-bottom: 16px;
    }

    .course-card h3 {
      font-size: 20px;
      font-weight: 600;
      margin-bottom: 16px;
    }

    .tags {
      display: flex;
      justify-content: center;
      gap: 8px;
      flex-wrap: wrap;
    }

    .tags span {
      background: white;
      padding: 8px 16px;
      border-radius: 20px;
      font-size: 14px;
      font-weight: 500;
      border: 1px solid #ccc;
    }

    @keyframes scrollCards {
      0%   { transform: translateX(0); }
      100% { transform: translateX(-50%); }
    }
  
  
  /* --- СТРАНИЦА ДЛЯ КУРСОВ --- */
    :root {
      --black: #111;
      --gray: #555;
      --gradient: linear-gradient(90deg, #00C6FF, #7F00FF);
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: 'Space Grotesk', sans-serif;
      background: #fff;
      color: var(--black);
      line-height: 1.5;
    }

    section.hero-section {
      padding: 80px 24px;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
      gap: 64px;
      max-width: 1280px;
      margin: 0 auto;
      align-items: center;
    }

    .hero-title {
      font-size: clamp(32px, 5vw, 54px);
      font-weight: 700;
      line-height: 1.2;
      margin-bottom: 24px;
    }

    .hero-title .highlight {
      background: var(--gradient);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .hero-subtitle {
      font-size: 18px;
      color: var(--gray);
      max-width: 560px;
      margin-bottom: 32px;
    }

    .hero-buttons {
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
      margin-bottom: 32px;
    }

    .btn {
      padding: 16px 28px;
      font-size: 16px;
      font-weight: 500;
      border-radius: 999px;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .btn.primary {
      background: var(--gradient);
      color: #fff;
      border: none;
    }

    .btn.primary:hover {
      opacity: 0.9;
    }

    .btn.outline {
      background: #fff;
      color: var(--black);
      border: 1px solid #111;
    }

    .btn.outline:hover {
      background: #111;
      color: #fff;
    }

    .hero-stats {
      display: flex;
      gap: 24px;
      font-size: 14px;
      font-weight: 500;
      color: #777;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .hero-video {
      width: 100%;
      max-width: 500px;
      aspect-ratio: 1 / 1;
      border-radius: 24px;
      overflow: hidden;
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    }

    .hero-video video {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    @media (max-width: 600px) {
      .hero-buttons {
        flex-direction: column;
        align-items: stretch;
      }
    } 

  /* --- КНОПКА --- */
  .program-btn{
    padding:12px 24px;font-size:16px;font-weight:500;
    background:linear-gradient(90deg,#00C6FF,#7F00FF);color:#fff;
    border:none;border-radius:999px;cursor:pointer;
    transition:transform .2s,box-shadow .2s,opacity .2s;
  }
  .program-btn:hover{transform:scale(1.04);box-shadow:0 4px 12px rgba(0,0,0,.15);opacity:.95;}

  /* --- КАРТОЧКИ --- */
  .cards-row{display:flex;flex-wrap:wrap;justify-content:center;gap:40px;
             max-width:1200px;margin:0 auto;}
  .program-card{
    background:#fff;border-radius:24px;box-shadow:0 6px 30px rgba(0,0,0,.06);
    padding:32px;max-width:440px;flex:0 1 440px;box-sizing:border-box;
    text-align:left;transition:.3s;
  }
  .program-card:hover .cert-icon{filter:hue-rotate(200deg) brightness(1.1);}

  /* --- МОДАЛКИ --- */
  .modal{display:none;position:fixed;z-index:1000;left:0;top:0;width:100%;height:100%;
         background:rgba(0,0,0,.5);justify-content:center;align-items:center;padding:40px 20px;}
  .modal-content{
    background:#fff;border-radius:16px;padding:32px;max-width:640px;width:100%;
    max-height:90vh;overflow-y:auto;box-shadow:0 8px 40px rgba(0,0,0,.2);
    font-family:'Space Grotesk',sans-serif;
  }
  .modal-content h3{font-size:22px;margin-bottom:16px;font-weight:700;}
  .modal-content ul{padding-left:20px;line-height:1.6;color:#444;font-size:15px;}
  .modal-close{
    margin-top:24px;display:inline-block;background:#eee;color:#333;border:none;
    padding:10px 20px;border-radius:999px;font-weight:500;cursor:pointer;
  }
  .modal-close:hover{background:#ddd;}

  /* --- АДАПТИВ --- */
  @media(max-width:950px){
    .program-card{max-width:100%;flex:0 1 100%;}
  }

  .gradient-text {
    font-size: 48px;
    font-weight: 700;
    background: linear-gradient(90deg, #007aff, #af52de, #ff375f, #ff9500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .center {
    text-align: center;
    padding: 40px 0px;
  }

  .subtitle {
    font-size: 16px;
    color: #555;
    max-width: 560px;
    margin: 12px auto 0;
    line-height: 1.5;
    white-space: normal; /* гарантирует перенос */
  }

  /* --- СТИЛИ ДЛЯ БЛОКА 4 --- */
  .section-practice {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    padding: 20px 5vw;
    max-width: 1400px;
    margin: 0 auto;
  }

  .practice-left {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    text-align: center;
  }

  .practice-left img {
    width: 100%;
    border-radius: 20px;
  }

  .practice-right {
    flex: 1.2;
    min-width: 320px;
    max-width: 620px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .practice-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
  }

  .practice-list li {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
  }

  .practice-list span {
    font-weight: 600;
    color: #999;
    font-size: 18px;
    min-width: 32px;
  }

  .practice-list strong {
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
  }

  .practice-list p {
    margin: 0;
    color: #555;
    font-size: 14px;
  }

  .practice-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
  }

  .practice-bottom p {
    font-size: 14px;
    color: #444;
    margin: 0;
    max-width: 60%;
  }

  .practice-stat {
    background: #fff;
    border-radius: 16px;
    padding: 20px 24px;
    color: black;
    max-width: 200px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }

  .practice-stat div {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 8px;
  }

  .practice-stat p {
    margin: 0;
  }

  .course-benefits-section {
    padding: 80px 20px;
    background: #fff;
    font-family: 'Space Grotesk', sans-serif;
  }

  .course-benefits-section h2 {
    text-align: center;
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(90deg, #00C6FF, #7F00FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .course-benefits-section p.subtitle {
    text-align: center;
    font-size: 16px;
    color: #666;
    margin-bottom: 48px;
  }

  .benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
  }

  .benefit-card {
    background: #f8f8f8;
    border-radius: 24px;
    padding: 32px;
    transition: all 0.3s ease;
    cursor: default;
  }

  .benefit-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  }

  .benefit-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
  }

  .benefit-card p {
    font-size: 14px;
    color: #444;
  }

  .cta-button-container {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .cta-button {
    padding: 18px 36px;
    font-size: 18px;
    font-weight: 600;
    border: none;
    border-radius: 999px;
    background: linear-gradient(90deg, #00C6FF, #7F00FF);
    color: #fff;
    cursor: pointer;
    transition: 0.3s ease;
  }

  .photo-gallery {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
  }

  .gallery-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 40px;
    font-family: "Space Grotesk", sans-serif;
  }

  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
  }

  .gallery-grid img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    object-fit: cover;
  }

  .gallery-grid img:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  }

  .chat-section {
      padding: 80px 20px;
      background: #f9f9f9;
    }

    .chat-grid {
      display: grid;
      grid-template-columns: 320px 1fr;
      gap: 48px;
      align-items: center;
      max-width: 1140px;
      margin: 0 auto;
    }

    .chat-image img {
      width: 100%;
      max-width: 320px;
      border-radius: 16px;
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    }

    .chat-box {
      background: #fff;
      padding: 40px;
      border-radius: 24px;
      box-shadow: 0 12px 32px rgba(0, 0, 0, 0.04);
    }

    .chat-title {
      font-size: 36px;
      font-weight: 700;
      margin-bottom: 20px;
    }

    .gradient-text {
      background: linear-gradient(90deg, #00C6FF, #0072FF, #7F00FF);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      color: transparent;
    }

    .chat-desc {
      font-size: 16px;
      color: #444;
      margin-bottom: 16px;
      line-height: 1.6;
    }

    .btn-gradient {
      margin-top: 24px;
      padding: 16px 32px;
      font-size: 16px;
      font-weight: 600;
      border-radius: 999px;
      background: linear-gradient(90deg, #00C6FF, #0072FF, #7F00FF);
      color: white;
      border: none;
      cursor: pointer;
      transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .btn-gradient:hover {
      opacity: 0.9;
      transform: scale(1.04);
    }

    @media (max-width: 768px) {
      .chat-grid {
        grid-template-columns: 1fr;
        gap: 32px;
      }

      .chat-box {
        padding: 24px;
      }

      .chat-title {
        font-size: 28px;
      }
    }
    
  .video-reviews-section {
    padding: 80px 20px;
    background: #fff;
    font-family: 'Space Grotesk', sans-serif;
  }

  .video-reviews-title {
    text-align: center;
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(90deg, #00C6FF, #7F00FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .video-reviews-subtitle {
    text-align: center;
    font-size: 16px;
    color: #666;
    margin-bottom: 48px;
  }

  .video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    max-width: 1280px;
    margin: 0 auto;
  }

  .video-container {
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  }

  .video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
  }

  /* Формы обучения */
  .program-section {
    padding: 80px 20px;
    background: #fff;
    font-family: 'Space Grotesk', sans-serif;
    color: #111;
    text-align: center;
  }

  .program-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 12px;
    background: linear-gradient(90deg, #00C6FF, #7F00FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .program-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 48px;
  }

  .program-cards-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
  }

  .program-card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.05);
    padding: 32px;
    max-width: 440px;
    flex: 1 1 300px;
    transition: box-shadow 0.3s ease;
  }
  
  .program-card-1 {
    background: white;
    border-radius: 24px;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.05);
    padding: 32px;
    max-width: 520px;
    flex: 1 1 520px;
    transition: box-shadow 0.3s ease;
  }

  .program-card:hover {
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
  }

  .program-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: #111;
  }

  .program-card p {
    font-size: 15px;
    color: #555;
    margin-bottom: 16px;
  }

  .program-card ul {
    margin-left: 20px;
    margin-bottom: 16px;
    color: #555;
    font-size: 14px;
    list-style-type: disc;
  }

  .program-note {
    font-size: 14px;
    color: #777;
    margin-bottom: 12px;
  }

  .program-price {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 16px;
    color: #111;
  }

  .program-btn {
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    background: linear-gradient(90deg, #00C6FF, #7F00FF);
    color: white;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  }

  .program-btn:hover {
    transform: scale(1.04);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0.95;
  }

  /* Адаптив */
  @media (max-width: 700px) {
    .program-cards-row {
      flex-direction: column;
      align-items: center;
    }
    .program-card {
      max-width: 100%;
      flex: 1 1 auto;
    }
  }

  /* --- ЧАСТО ЗАДАВАЕМЫЕ ВОПРОСЫ --- */
  .faq-section {
    padding: 80px 20px;
    background: #f9f9f9;
    font-family: 'Space Grotesk', sans-serif;
  }

  .faq-section h2 {
    text-align: center;
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 40px;
    background: linear-gradient(90deg, #00C6FF, #7F00FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .faq-container {
    max-width: 960px;
    margin: 0 auto;
  }

  .faq-item {
    margin-bottom: 24px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    padding: 24px;
  }

  .faq-item summary {
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    outline: none;
  }

  .faq-item p {
    margin-top: 16px;
    font-size: 16px;
    color: #333;
    line-height: 1.5;
  }

  /* Готовы попробовать? */
  .cta-block {
    text-align: center;
    padding: 100px 20px;
    background: #fff;
  }

  .cta-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
  }

  .cta-sub {
    font-size: 16px;
    color: #555;
    max-width: 560px;
    margin: 0 auto 32px;
    line-height: 1.6;
  }

  .btn-gradient {
    padding: 18px 32px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 999px;
    background: linear-gradient(90deg, #00C6FF, #0072FF, #7F00FF);
    color: white;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .btn-gradient:hover {
    opacity: 0.9;
    transform: scale(1.04);
  }

  .partner-slider{
    display:flex;
    gap:60px;
    align-items:flex-start;
    padding:80px 60px;
    font-family:'Space Grotesk',sans-serif;
  }

  .partner-text{flex:1;min-width:300px}
  .partner-text h2{font-size:32px;font-weight:700;margin:0 0 24px}

  .btn{
    display:inline-block;
    padding:16px 32px;
    font-size:16px;
    font-weight:600;
    border-radius:999px;
    border:none;
    cursor:pointer;
    transition:.3s;
  }
  .gradient-bg{
    background:linear-gradient(90deg,#00C6FF,#0072FF,#7F00FF);
    color:#fff;
    box-shadow:0 6px 12px rgba(0,114,255,.25);
  }
  .gradient-bg:hover{
    transform:scale(1.05);
    box-shadow:0 8px 16px rgba(0,114,255,.35);
  }

  /* ─── Карточки ─── */
  .partner-cards-wrapper{flex:2}
  .partner-cards{display:flex;gap:24px;flex-wrap:wrap}

  .course-card{
    position:relative;
    width:320px;
    min-width:320px;
    height:420px;
    border-radius:32px;
    overflow:hidden;
    flex-shrink:0;
    box-shadow:0 0 12px rgba(0,0,0,.5);
  }

  /* Фото-фон заполняет всю карточку */
  .card-bg{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    z-index:0;
  }

  /* Затемняющий слой */
  .course-card::before{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.50);
    z-index:0;
  }

  /* Контент поверх фонового слоя */
  .card-content{
    position:relative;
    z-index:1;
    height:100%;
    display:flex;
    flex-direction:column;
    padding:20px;
  }

  .course-title{
    font-size:32px;
    font-weight:700;
    text-align:center;
    margin:0;
    color:#fff;
  }
  .course-sub{
    font-size:26px;
    text-align:center;
    color:#dcdcdc;
    margin:6px 0 0;
  }
  .small{font-size:16px;color:#c0c0c0}

  /* Блок с длительностью и списком — внизу */
  .course-info{
    margin-top:auto;
    color:#fff;
    text-align:left;
  }
  .duration{font-size:24px;font-weight:700;margin:0 0 2px}
  .hours{font-size:18px;margin:0 0 14px}

  .features{
    list-style:none;
    padding:0;
    margin:0;
    display:flex;
    flex-direction:column;
    gap:10px;
  }
  .features li{font-size:16px}

  /* ─── Адаптив ─── */
  @media(max-width:700px){
    .course-card{
      width:100%;
      min-width:100%;
    }
  }

  .section-practice .practice-right h2{
    margin: 0 0 30px; /* поменяй 20px на сколько нужно */
    line-height: 1.2;
  }
  
  .logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--black) !important; /* фиксируем цвет */
  text-decoration: none !important; /* убираем подчёркивание */
}

.logo .plus {
  background: linear-gradient(90deg, #00C6FF, #7F00FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.chip {
  display: inline-block;
  padding: 8px 16px;
  margin: 4px;
  border-radius: 36px;
  background: #fff;            /* белый фон */
  border: 1px solid #ddd;      /* тонкая серая обводка */
  font-size: 14px;
  color: #000 !important;      /* чёрный текст */
  text-decoration: none !important; /* убираем подчёркивание */
  transition: all 0.2s;
}

.chip:hover {
  background: #f0f0f0;   /* лёгкий серый при наведении */
  border-color: #ccc;
}

 .howto{
      padding:40px 20px;
      font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
      color:#1b1b1b;
    }
    .howto__grid{
      max-width:1120px; margin:0 auto;
      display:grid; grid-template-columns: 1fr 1.1fr;
      gap:32px; align-items:start;
    }
    .howto__media{
      position:relative; border-radius:16px; overflow:hidden;
      background:#f3f3f5;
      box-shadow:0 10px 30px rgba(0,0,0,.06);
      aspect-ratio: 4 / 3;
    }
    .howto__media img{
      width:100%; height:100%; object-fit:cover; display:block;
      transition:opacity .3s ease;
    }
    .howto__card{
      background:#fff; border-radius:16px;
      box-shadow:0 10px 30px rgba(0,0,0,.06);
      padding:24px 24px 28px;
    }
    .howto h2{ font-size:22px; font-weight:700; margin:0 0 12px; }
    .howto p{ margin:0 0 14px; line-height:1.6; color:#2e2e2e; }

    .howto__thumbs{
      display:flex; gap:10px; margin:10px 0 14px; flex-wrap:wrap;
    }
    .howto__thumbs img{
      width:96px; height:72px; object-fit:cover;
      border-radius:8px; display:block;
      box-shadow:0 4px 12px rgba(0,0,0,.08);
      cursor:pointer; transition:transform .2s ease, box-shadow .2s ease;
    }
    .howto__thumbs img:hover{
      transform:translateY(-2px); box-shadow:0 6px 16px rgba(0,0,0,.15);
    }
    .howto__note{
      background:#f4f6ff; border:1px solid #dfe6ff;
      color:#223; padding:12px 14px; border-radius:10px;
      font-size:14px; margin:10px 0 18px;
    }
    @media (max-width: 900px){
      .howto__grid{ grid-template-columns: 1fr; }
      .howto__media{ order:-1; }
    }