
:root {
    --black: #111;
    --gray: #666;
    --radius-pill: 48px;
    --radius-chip: 36px;
    --radius-card: 32px;
    --container-pad-x: 20px;     /* единые боковые отступы */
    --gradient: linear-gradient(90deg, #00C6FF, #7F00FF);
    --container-width: 1140px;
    --card-w: 260px;
    --card-h: 380px;
  }

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

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


.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: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{
  display:inline-block;
  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 .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;
  }
  

  .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;
    }
  }  

  .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.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;
    }

    .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,.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%); }
    }
  
  
  /* --- СТРАНИЦА ДЛЯ КУРСОВ --- */



    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;
      color: #111;
      text-decoration: none;
    }


    .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: flex-start; /* ✅ НЕ растягиваем */
  }
    } 


  /* --- КАРТОЧКИ --- */
  .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 {
    background: linear-gradient(90deg, #00C6FF, #0072FF, #7F00FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-size: 48px;
    font-weight: 700;
  }

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


  /* --- СТИЛИ ДЛЯ БЛОКА 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;
    }


    .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-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;
    }

  }

  /* --- ЧАСТО ЗАДАВАЕМЫЕ ВОПРОСЫ --- */
  .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;
  }




  .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);
  }

  /* ─── Карточки ─── */

  .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){

  }

  .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: 10px 22px;
  margin: 4px;
  border-radius: var(--radius-chip);
  background: #fff;            /* белый фон */
  border: 1px solid #ddd;      /* тонкая серая обводка */
  font-size: 14px;
  color: #000 !important;      /* чёрный текст */
  text-decoration: none !important; /* убираем подчёркивание */
  transition: all 0.2s;
  white-space: nowrap;
  cursor: pointer;
  }

.chip:hover {
  background: #f0f0f0;   /* лёгкий серый при наведении */
  border-color: #ccc;
}
      .site-header{
    background:#fff; box-shadow:0 2px 12px rgba(0,0,0,.05);
    font-family:'Space Grotesk',sans-serif; position:sticky; top:0; z-index:999;
  }
  .container{
    position:relative;
    max-width:1280px; margin:0 auto; padding:16px 24px;
    display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap;
  }

  .left-wrap{display:flex; align-items:center; gap:20px;}
  .burger{display:flex; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer;}
  .burger span{display:block; width:24px; height:2px; background:#111; transition:.3s;}
  .contacts{display:flex; flex-direction:column; font-size:14px; color:#555;}
  .cta-btn{
    padding:12px 24px; font-size:15px; font-weight:500; border:none; border-radius:999px;
    background:linear-gradient(90deg,#00C6FF,#7F00FF); color:#fff !important; text-decoration:none;
    cursor:pointer; transition:.3s;
  }
  .cta-btn:hover{opacity:.9; transform:scale(1.04);}

  /* Панель меню */
  .nav-panel{
    position:absolute; left:24px; top:100%;
    width:min(360px, calc(100% - 48px));
    display:flex; flex-direction:column; gap:6px;
    padding:16px 20px 20px;
    background:#fff; border-radius:16px;
    box-shadow:0 12px 28px rgba(0,0,0,.12);
    opacity:0; transform:translateY(8px); pointer-events:none;
    transition:opacity .2s ease, transform .2s ease;
  }
  .nav-panel.show{opacity:1; transform:translateY(0); pointer-events:auto;}

  .nav-panel a{
    padding:2px 0; font-size:12px; color:#333; text-decoration:none; transition:color .2s;
  }
  .nav-panel a:hover{color:#7F00FF;}

  .nav-close{
    align-self:flex-start; background:none; border:none; cursor:pointer;
    font-size:22px; line-height:1; color:#111; margin:-6px 0 4px -4px;
  }

  /* Заголовки групп и разделители */
  .nav-group{margin:2px 0 6px;}
  .nav-group-title{
    font-size:12px; text-transform:uppercase; letter-spacing:.06em;
    color:#777; margin:4px 0 6px;
  }
  .nav-sub a{display:block; padding:6px 0 6px 12px;} /* лёгкий отступ подкатегорий */
  .nav-divider{height:1px; background:#eee; margin:8px 0;}

  /* Мобилка: скрываем правые блоки, панель шире */
  @media (max-width:768px){
    .contacts, .cta-btn{display:none;}
    .nav-panel{left:16px; width:calc(100% - 32px);}
  }
 /* единые размеры для всех страниц */

/* === HOWTO: одинаковая ширина/высота всех фото слева === */
.howto{
  --media-width-desktop: 560px;   /* как у первого блока */
  --media-height-desktop: 360px;
  --media-height-mobile: 240px;
}

/* сетка: фиксируем колонку с фото */
.howto .howto__grid{
  display:grid;
  grid-template-columns: var(--media-width-desktop) 1fr !important;
  gap:20px;
  align-items:start;
  max-width: calc(var(--media-width-desktop) + 640px);
  margin:0 auto;
}

/* медиа-обёртка: фикс. размер */
.howto .howto__media{
  width: var(--media-width-desktop) !important;
  height: var(--media-height-desktop) !important;
  border-radius:12px;
  overflow:hidden;
  background:#f3f4f6;
  box-shadow:0 8px 24px rgba(0,0,0,.08);
  margin:0 !important;
}

/* картинка заполняет обёртку один в один */
.howto .howto__media > img{
  display:block !important;
  width:100%  !important;
  height:100% !important;
  max-width:none !important;
  object-fit:cover !important;
}


/* ---- FIX для HOWTO: убираем flex у контейнера и фиксируем сетку ---- */
.howto > .container{
  display: block !important;            /* вместо flex */
  max-width: 1120px !important;
  padding: 0 24px !important;
  margin: 0 auto !important;
  justify-content: initial !important;  /* на всякий */
  align-items: initial !important;
  gap: 0 !important;
}


/* страхуем выравнивание элементов строки */
.howto .howto__media,
.howto .howto__card{
  align-self: start !important;
  margin: 0 !important;
}


/* мобилка */
@media (max-width:960px){
  .howto > .container{ max-width: 700px !important; }
  .howto .howto__grid{ grid-template-columns: 1fr !important; }
  .howto .howto__media{ width:100% !important; height: var(--media-height-mobile,240px) !important; }
}
/* === ЕДИНЫЕ ОТСТУПЫ МЕЖДУ ШАГАМИ === */
.howto {
  padding: 40px 20px;
}

/* каждый следующий шаг отстоит на 40px от предыдущего */
.howto + .howto {
  margin-top: 40px;
}
/* === СТИЛИ ДЛЯ ТЕКСТОВЫХ КАРТОЧЕК HOWTO === */
.howto .howto__card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,.06);
  padding: 24px 28px;
  font-family: 'Space Grotesk', sans-serif;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.howto .howto__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,.1);
}

/* Заголовки */
.howto .howto__card h2 {
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 700;
  background: linear-gradient(90deg,#00C6FF,#7F00FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Списки шагов */
.howto .howto__card ul {
  margin: 0;
  padding-left: 20px;
  list-style: disc;
  color: #333;
}

.howto .howto__card ul li {
  margin-bottom: 8px;
  line-height: 1.6;
  font-size: 15px;
}

/* Доп. подсказки/лайфхаки */
.howto .howto__card li.faq-tip {
  background: #fdf6ec;
  border-left: 4px solid #f39c12;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  color: #7a4e0b;
  list-style: none;
  margin: 10px 0;
}

.howto .howto__card li.faq-lifehack {
  background: #f4f8ff;
  border-left: 4px solid #007bff;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  color: #0a3d8f;
  list-style: none;
  margin: 10px 0;
}

  /* Контейнер секции */
  .fixit-slider{
    max-width: var(--container-width);
    margin: 0 auto;                 /* центрируем */
    padding: 0 20px;                 /* такие же боковые отступы, как у верхнего блока */
    box-sizing: border-box;
    font-family: 'Space Grotesk', sans-serif;
    position: relative;
  }

  .fixit-slider__top{
    display:flex;justify-content:flex-end;align-items:center;
    padding: 0 2px 8px;              /* маленький отступ внутри контейнера */
  }
  .fixit-slider__arrows{display:flex;gap:8px}

  .fixit-arrow{
    width:48px;height:48px;border-radius:50%;
    border:2px solid #e5e5e5;background:#fff;color:#2d20df;
    display:grid;place-items:center;cursor:pointer;transition:.2s;
    box-shadow:0 2px 8px rgba(0,0,0,.06);
  }
  .fixit-arrow:hover{transform:scale(1.06);box-shadow:0 6px 16px rgba(0,0,0,.08)}
  .fixit-arrow:disabled{opacity:.45;cursor:default;transform:none;box-shadow:none}

  .fixit-slider__viewport{width:100%;overflow:hidden}
  .fixit-slider__track{
    display:flex;gap:20px;width:max-content;
    padding:16px 2px 24px;
    scroll-behavior:smooth;
  }

  .fixit-slide{
    flex:0 0 var(--card-w);
    height:var(--card-h);
    background:#f0f0f0;
    border-radius:24px;
    padding:20px 16px;
    box-shadow:0 0 12px rgba(0,0,0,.05);
    display:flex;flex-direction:column;justify-content:space-between;
    text-align:center;transition:transform .2s;
  }
  .fixit-slide:hover{transform:translateY(-2px)}

  .fixit-slide__kicker{font-size:14px;color:#666}
  .fixit-slide__title{font-size:18px;font-weight:700;line-height:1.2;margin:6px 0 0}

  .fixit-tags{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}
  .fixit-tags span{
    padding:6px 14px;background:#fff;border-radius:16px;
    font-size:13px;font-weight:500;border:1px solid #ddd;
  }

  @media (max-width: 480px){
    .fixit-slider{padding:0 16px}
    .fixit-slide{flex:0 0 80vw;height:340px}
  }
  
  /* === Блок howto: изолированные стили === */
.fixit-howto {
  padding: 40px 20px;
}

.fixit-howto .fixit-howto__grid {
  display: grid;
  grid-template-columns: 560px 1fr;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.fixit-howto .fixit-howto__media {
  width: 560px;
  height: 360px;
  border-radius: 12px;
  overflow: hidden;
  background: #f3f4f6;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.fixit-howto .fixit-howto__main {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fixit-howto .fixit-howto__card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  padding: 24px;
}

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

.fixit-howto .fixit-howto__thumbs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.fixit-howto .fixit-howto__thumb {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid #ddd;
  background: #fff;
  padding: 0;
  margin: 0;
  border-radius: 6px;
  display: inline-flex;
  overflow: hidden;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s, transform .15s;
}

.fixit-howto .fixit-howto__thumb:hover {
  border-color: #0a66c2;
  box-shadow: 0 0 0 3px rgba(10, 102, 194, .12);
  transform: translateY(-1px);
}

.fixit-howto .fixit-howto__thumb.is-active {
  border-color: #0a66c2;
  box-shadow: 0 0 0 3px rgba(10, 102, 194, .2);
}

.fixit-howto .fixit-howto__thumb img {
  width: 100px;   /* сделал миниатюры чуть больше */
  height: 72px;
  object-fit: cover;
  display: block;
}

.fixit-howto .fixit-howto__note {
  margin-top: 16px;
  padding: 12px;
  font-size: 14px;
  border-radius: 4px;
  background: #f0f7ff;
  border-left: 4px solid #0a66c2;
}

@media(max-width:960px) {
  .fixit-howto .fixit-howto__grid {
    grid-template-columns: 1fr;
  }
  .fixit-howto .fixit-howto__media {
    width: 100%;
    height: 240px;
  }
}
/* =========================
   FIXIT-HOWTO — ТИПОГРАФИКА/ДЕКОР
   (поверх твоих текущих стилей)
   ========================= */

.fixit-howto__grid{
  gap: 28px; /* чуть больше воздуха между колонками */
}

/* карточка: комфортные отступы и читаемость */
.fixit-howto__card{
  padding: 28px 28px 26px;
  font-size: 16.5px;
  line-height: 1.75;
}

/* заголовок: аккуратный акцент и подчёркивание */
.fixit-howto__heading{
  font-size: 24px;
  margin: 0 0 14px;
  background: linear-gradient(90deg,#00C6FF,#7F00FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}
.fixit-howto__heading::after{
  content:"";
  display:block;
  width:64px; height:3px;
  border-radius:3px;
  margin-top:8px;
  background: linear-gradient(90deg,#00C6FF,#7F00FF);
  opacity:.55;
}

/* текстовые блоки ограничиваем по ширине для лёгкого чтения */
.fixit-howto__card p,
.fixit-howto__card ul,
.fixit-howto__note{
  max-width: 640px;
}

/* абзацы: ровные интервалы */
.fixit-howto__card p{ margin: 0 0 12px; color:#222; }

/* списки: кастомные буллеты */
.fixit-howto__card ul{
  list-style: none;
  margin: 6px 0 10px 0;
  padding: 0;
}
.fixit-howto__card ul li{
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 6px 0;
}
.fixit-howto__card ul li::before{
  content:"";
  flex: 0 0 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 9px;
  background: linear-gradient(90deg,#00C6FF,#7F00FF);
}

/* ====== EDU Article (изолированные стили) ====== */
.edu-article {
  padding: 32px 16px;
  background: #f7f8fa;
}
.edu-container {
  max-width: 1000px;
  margin: 0 auto;
}
.edu-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  padding: 28px;
}
.edu-title {
  margin: 0 0 16px;
  font-size: 28px;
  line-height: 1.25;
  font-weight: 800;
}
.edu-subtitle {
  margin: 28px 0 12px;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 700;
}
.edu-text {
  margin: 12px 0;
  font-size: 16px;
  line-height: 1.7;
  color: #1f2937;
}
.edu-list {
  margin: 10px 0 16px 20px;
  padding: 0;
  font-size: 16px;
  line-height: 1.7;
  color: #1f2937;
}
.edu-list--ol { list-style: decimal; }
.edu-list:not(.edu-list--ol) { list-style: disc; }
.edu-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 16px 0 8px;
}
.edu-gallery__item {
  border-radius: 12px;
  overflow: hidden;
  background: #eef2f7;
  box-shadow: 0 4px 14px rgba(0,0,0,.06);
}
.edu-gallery__item img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform .25s ease;
}
.edu-gallery__item:hover img { transform: scale(1.02); }
@media (max-width: 960px) {
  .edu-card { padding: 22px; }
  .edu-title { font-size: 24px; }
  .edu-subtitle { font-size: 20px; }
  .edu-gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .edu-card { padding: 18px; }
  .edu-title { font-size: 22px; }
  .edu-subtitle { font-size: 18px; }
  .edu-gallery { grid-template-columns: 1fr; }
  .edu-gallery__item img { aspect-ratio: 3/2; }
}
/* ====== Стили для статей (КИПиА и подобные) ====== */

.kip-article {
  font-size: 17px;
  line-height: 1.8;
  color: #222;
  font-family: 'Space Grotesk', sans-serif;
}

/* Заголовки */
.kip-title {
  font-size: 22px;
  font-weight: 700;
  margin: 36px 0 18px;
  background: linear-gradient(90deg, #00C6FF, #7F00FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.kip-subtitle {
  font-size: 18px;
  font-weight: 600;
  margin: 24px 0 12px;
  color: #333;
  border-left: 4px solid #7F00FF;
  padding-left: 10px;
}

/* Списки */
.kip-list {
  margin: 14px 0 22px 20px;
  padding: 0;
}
.kip-list li {
  margin-bottom: 8px;
}

/* Картинки */
.kip-img {
  margin: 32px auto;
  text-align: center;
}
.kip-img img {
  max-width: 900px;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}
.kip-img figcaption {
  font-size: 14px;
  color: #666;
  margin-top: 8px;
}

/* Примечание / итоговый блок */
.kip-note {
  background: #f0f7ff;
  border-left: 4px solid #0a66c2;
  padding: 16px 20px;
  border-radius: 8px;
  margin-top: 32px;
  font-size: 15px;
  color: #1a1a1a;
}

.t-section__descr {max-width:560px;}#rec1214979031 .t-section__title {margin-bottom:40px;}#rec1214979031 .t-section__descr {margin-bottom:105px;}@media screen and (max-width:960px) {#rec1214979031 .t-section__title {margin-bottom:20px;}#rec1214979031 .t-section__descr {margin-bottom:45px;}}
 @media screen and (max-width:560px){#rec1284147061 .t-popup__close-icon g{fill:#ffffff !important;}}
.t-btnflex.t-btnflex_type_submit {color:#ffffff;background-color:#333333;border-style:none !important;border-radius:32px;box-shadow:none !important;transition-duration:0.2s;transition-property:background-color,color,border-color,box-shadow,opacity,transform;transition-timing-function:ease-in-out;}
input::-webkit-input-placeholder {color:#000000;opacity:0.5;}
#rec1284147061 input::-moz-placeholder{color:#000000;opacity:0.5;}
 #rec1284147061 input:-moz-placeholder {color:#000000;opacity:0.5;}
#rec1284147061 input:-ms-input-placeholder{color:#000000;opacity:0.5;}
#rec1284147061 textarea::-webkit-input-placeholder {color:#000000;opacity:0.5;}
#rec1284147061 textarea::-moz-placeholder{color:#000000;opacity:0.5;}
#rec1284147061 textarea:-moz-placeholder {color:#000000;opacity:0.5;}
#rec1284147061 textarea:-ms-input-placeholder{color:#000000;opacity:0.5;}
 #rec1284154181 .t-btnflex.t-btnflex_type_submit {color:#ffffff;background-color:#2e5adc;border-style:none !important;box-shadow:none !important;text-transform:uppercase;transition-duration:0.2s;transition-property:background-color,color,border-color,box-shadow,opacity,transform;transition-timing-function:ease-in-out;}
.site-footer { background: #f9f9f9; padding: 60px 40px 40px; font-family: 'Space Grotesk', sans-serif; color: #111; border-top: 1px solid #eee; }
.footer-content { max-width: 1280px; margin: 0 auto; }
.footer-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-col h4 { font-size: 18px; font-weight: 600; margin-bottom: 12px; color: #0072FF; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { font-size: 15px; margin-bottom: 8px; color: #444; }
.footer-col ul li a { color: #444; text-decoration: none; }
 .footer-col ul li a:hover { text-decoration: underline; }
 .footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 14px; border-top: 1px solid #ddd; padding-top: 20px; flex-wrap: wrap; gap: 12px; }
.social-icons a { margin-left: 12px; display: inline-block; }
.social-icons img { width: 24px; height: 24px; }

/* Ссылки-кнопки: убрать поведение ссылок и задать базовый вид */
a.btn, a.cta-button, a.program-btn { 
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

/* Общий стиль для кнопок (и ссылок-кнопок) */
.btn, .cta-button, .program-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 32px;
  font-weight: 600;
  line-height: 1.2;
  border: 0;
  cursor: pointer;
  appearance: none;           /* и для button, и для a */
  -webkit-appearance: none;
  transition: filter .2s, background-color .2s, box-shadow .2s;
}

/* Конкретно для градиентной кнопки "Выбрать курс" */
.btn.gradient-bg,
a.btn.gradient-bg,
a.btn.gradient-bg:link,
a.btn.gradient-bg:visited {
  background: linear-gradient(135deg, #00C6FF, #7F00FF);
  color: #fff;
  box-shadow: 0 10px 24px rgba(63, 120, 255, .25);
}

.btn.gradient-bg:hover,
a.btn.gradient-bg:hover { filter: brightness(.97); }

.btn.gradient-bg:focus-visible,
.cta-button:focus-visible,
.program-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(63,120,255,.35);
}

/* Не-градиентные варианты, если они есть */
.btn:not(.gradient-bg) { background:#fff; color:#111; border:1px solid #ddd; }
.btn:not(.gradient-bg):hover { background:#f7f7f7; }


/* Градиентная */

a.btn.gradient-bg:link,
a.btn.gradient-bg:visited{ color:#fff; }
.btn:focus-visible{ outline:none; box-shadow:0 0 0 3px rgba(63,120,255,.35); }

/* === FIX: зафиксировать внешний вид градиентной кнопки === */
.t-records a.btn.gradient-bg,
.t-records .btn.gradient-bg{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  padding: 14px 28px !important;
  border-radius: 999px !important;

  background: linear-gradient(135deg, #00C6FF, #7F00FF) !important;
  color: #fff !important;
  text-decoration: none !important;

  font-family: "Space Grotesk", system-ui, sans-serif !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  line-height: 1.2 !important;

  border: none !important;
  box-shadow: 0 10px 24px rgba(63,120,255,.25) !important;
  cursor: pointer !important;
  transition: filter .2s ease, box-shadow .2s ease !important;
}

.t-records .btn.gradient-bg:hover,
.t-records a.btn.gradient-bg:hover{
  filter: brightness(.97) !important;
  box-shadow: 0 12px 28px rgba(63,120,255,.3) !important;
}

/* если есть НЕ градиентные кнопки .btn — зафиксируй их тоже */
.t-records .btn:not(.gradient-bg){
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  padding: 14px 28px !important;
  border-radius: 999px !important;

  background: #fff !important;
  color: #111 !important;
  border: 1px solid #ddd !important;
  font: 600 16px/1.2 "Space Grotesk",system-ui,sans-serif !important;
  cursor: pointer !important;
  transition: background-color .2s ease !important;
}
.t-records .btn:not(.gradient-bg):hover{ background:#f7f7f7 !important; }


/* CHAT SUPPORT — mobile polish */
.t-section__title{
  font-size: clamp(26px, 6.5vw, 36px);
  line-height: 1.2;
  margin-bottom: 12px;
}
.t-section__descr{
  max-width: 560px;
  margin: 0 auto 28px;
  font-size: 18px;
  line-height: 1.45;
}
.t-section__descr sub{
  font-size: inherit;
  line-height: inherit;
  text-decoration: none;
  /* балансируем переносы, чтобы не было одинокого «курса.» */
  text-wrap: balance;
}

.t1008__container{ max-width:1140px; }
.t1008__item{ padding: 18px 0; }

@media (max-width: 960px){
  /* картинку телефона ниже списков */
  #rec1212572256 .t1008__cell_50{ order: 3; }
  #rec1212572256 .t1008__cell-left,
  #rec1212572256 .t1008__cell-right{ width:100% !important; }
}

@media (max-width: 640px){
  /* иконка слева, текст справа — одна строка-сетка */
  #rec1212572256 .t1008__item{
    display: grid;
    grid-template-columns: 32px 1fr;
    column-gap: 14px;
    row-gap: 6px;
    align-items: start;
    padding: 14px 0;
  }

  /* показываем мобильную иконку, убираем дубли справа */
.t1008__iconwrapper_mobile{ display:block; }
.t1008__iconwrapper{ display:none; }

  /* размер иконки */
  #rec1212572256 .t1008__bgimg{
    width: 28px !important; height: 28px !important;
    background-size: contain !important;
  }

  /* типографика пунктов */
  #rec1212572256 .t1008__title{
    font-size: 20px;
    line-height: 1.25;
    margin: 0 0 6px;
  }
  #rec1212572256 .t1008__descr{
    font-size: 16px;
    line-height: 1.55;
    margin: 0;
  }

  /* картинка чата — компактнее и с радиусом */
  #rec1212572256 .t1008__img{
    max-width: 440px;
    margin: 8px auto 0;
    border-radius: 12px;
  }
}
/* скрываем кнопку перезвона на мобильных */
@media (max-width: 991px){
  #rec1286498441 { display: none !important; }
}


/* Попап #rec1275158241 — возвращаем верхнюю картинку */
#rec1275158241 .t702__container {
  display: flex;
  flex-direction: column;
}

#rec1275158241 .t702__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 260px; /* можно регулировать */
  object-fit: cover;
}

/* Контент под картинкой */
#rec1275158241 .t702__wrapper {
  padding: 32px 28px 40px;
  background: #fff;
}


/* Сброс списков в колонке футера */
.footer-col .footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-col .footer-links li {
  margin: 6px 0;
}

/* Фикс цвета ссылок: наследуем цвет родителя и НЕ меняем на visited/hover/active/focus */
.footer-col .footer-links a,
.footer-col .footer-links a:link,
.footer-col .footer-links a:visited,
.footer-col .footer-links a:hover,
.footer-col .footer-links a:active,
.footer-col .footer-links a:focus {
  color: inherit !important;      /* берём цвет текста футера (например, белый) */
  text-decoration: none;          /* если нужно подчёркивание — поставь underline */
}

/* (опционально) единый курсор и плавность */
.footer-col .footer-links a {
  cursor: pointer;
  transition: none; /* чтобы вообще не было визуальных изменений на hover */
}


/* Соцсети в попапе t702 — обычный регистр, без плашки, иконки меньше */
.t702__socials { margin-top: 16px; }

.t702__socials-title {
  text-transform: none;     /* было uppercase */
  letter-spacing: normal;   /* убираем разреженность */
  font-weight: 500;         /* можно 400, если нужно ещё тоньше */
  margin-bottom: 8px;
}

.t702__socials-box {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 0;               /* без внутреннего отступа/плашки */
  background: transparent;  /* без серого фона */
  border: 0;                /* без обводки */
  box-shadow: none;         /* на всякий случай */
  max-width: none;
  margin: 0 auto;
}

.t702__social-link img {
  display: block;
  width: 28px;
  height: 28px;
}

.t702__social-link:hover img,
.t702__social-link:focus img {
  opacity: .9;              /* лёгкий эффект, можно убрать */
}
/* index */
              .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,#00C6FF,#0072FF,#7F00FF); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; color:transparent; margin-bottom:20px; }
              .subtitle{ font-size:20px; color:#333; margin-top:12px; line-height:1.5; }
              .center{ text-align:center; }
              .corp-features{ display:flex; gap:32px; justify-content:center; flex-wrap:wrap; max-width:1200px; margin:0 auto; }
              .feature-card{ background:#f9f9f9; border-radius:20px; padding:28px; max-width:420px; flex:0 1 360px; text-align:left; transition:.3s; cursor:pointer; box-shadow:0 2px 10px rgba(0,0,0,.04); }
              .feature-card:hover{ transform:translateY(-6px); box-shadow:0 8px 28px rgba(0,0,0,.08); background:#fff; }
              .feature-card h3{ font-size:20px; margin-bottom:10px; color:#111; }
              .feature-card p{ font-size:14px; color:#555; line-height:1.5; }
              
/* contact */
              .map-section{ padding:80px 20px; background:#f9f9f9; text-align:center; font-family:'Space Grotesk',sans-serif; }
              .map-section .section-title{ font-size:36px; font-weight:700; margin-bottom:12px;
                background:linear-gradient(90deg,#00C6FF,#7F00FF); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; color:transparent; }
              .map-subtitle{ font-size:16px; color:#555; margin-bottom:32px; }
              .map-wrapper{ max-width:1140px; margin:0 auto; overflow:hidden; border-radius:20px; }
              @media (max-width:768px){ .map-section .section-title{ font-size:28px; } .map-subtitle{ font-size:14px; } }

              .branch-section { padding:80px 20px; background:#f9f9f9; font-family:'Space Grotesk',sans-serif; text-align:center; }
              .branch-section .section-title{ font-size:40px; font-weight:700; margin-bottom:10px;
                background:linear-gradient(90deg,#00C6FF,#7F00FF); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; color:transparent;}
              .branch-section .section-subtitle{ font-size:16px; color:#555; margin-bottom:48px; }
              .branch-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:32px; max-width:1200px; margin:0 auto; }
              .branch-card{ background:#fff; padding:24px; border-radius:20px; box-shadow:0 8px 24px rgba(0,0,0,.06); text-align:left; transition:transform .2s ease, box-shadow .2s ease; font-style:normal; }
              .branch-card h3{ font-size:20px; margin-bottom:10px; color:#222; }
              .branch-card p{ font-size:15px; color:#555; margin:4px 0; }
              .branch-card a{ color:#222; text-decoration:none; border-bottom:1px dotted rgba(0,0,0,.2); }
              .branch-card a:hover{ border-bottom-color:transparent; }
              .branch-card:hover{ transform:translateY(-4px); box-shadow:0 12px 32px rgba(0,0,0,.08); }


              .requisites-section{ padding:80px 20px; background:#f9f9f9; font-family:'Space Grotesk',sans-serif; text-align:center; }
              .requisites-section .section-title{ font-size:36px; font-weight:700; margin-bottom:32px;
                background:linear-gradient(90deg,#00C6FF,#7F00FF); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; color:transparent; }
              .requisites-box{ background:#fff; max-width:760px; margin:0 auto; padding:32px; border-radius:20px; box-shadow:0 10px 30px rgba(0,0,0,.05); text-align:left; color:#333; font-size:15px; line-height:1.6; }
              .btn-download{ display:inline-block; margin-top:24px; padding:12px 24px; font-size:15px; font-weight:500; color:#fff;
                background:linear-gradient(90deg,#00C6FF,#7F00FF); border:none; border-radius:999px; text-decoration:none; transition:transform .2s ease, opacity .2s ease; }
              .btn-download:hover{ transform:scale(1.04); opacity:.9; }
              @media (max-width:600px){ .requisites-box{ padding:24px; } .requisites-section .section-title{ font-size:28px; } }
              
              /* Скрыть видео и сделать одну колонку на мобильных */
@media (max-width: 768px){
  #rec1189993711 .hero-video { 
    display: none !important; 
  }
  /* сам грид под видео → в одну колонку */
  #rec1189993711 section > div {
    grid-template-columns: 1fr !important;
  }
}
/* Мобайл: оставить только колонку "Контакты" (4-я в разметке) */
@media (max-width: 768px) {
  .site-footer .footer-columns { 
    grid-template-columns: 1fr; 
    gap: 16px;
  }
  .site-footer .footer-columns .footer-col { display: none; }
  .site-footer .footer-columns .footer-col:nth-child(4) { display: block; }

  /* убираем стрелку/курсор от аккордеона у "Контактов" */
  .site-footer .footer-columns .footer-col:nth-child(4) h4 { 
    cursor: default; 
    padding-right: 0;
  }
  .site-footer .footer-columns .footer-col:nth-child(4) h4::after { 
    display: none; 
  }
}

/* Блок про другие курсы */

/* скрыть секцию карты на экранах <= 767px */
@media (max-width: 767px) {
  #rec1203671886 { display: none !important; }
}






/* ===== Попап без Тильды ===== */
.fp-modal{
  position:fixed; inset:0; z-index:9999;
  display:none; align-items:center; justify-content:center;
  background:rgba(0,0,0,.6); backdrop-filter:blur(2px);
}
.fp-modal.is-open{ display:flex; }
.fp-card{
  position:relative; width:min(92vw,460px);
  background:#fff; border-radius:16px; overflow:hidden;
  box-shadow:0 24px 64px rgba(0,0,0,.28);
  font-family:'Space Grotesk',system-ui,-apple-system,Segoe UI,Roboto,Arial;
}
.fp-close{
  position:absolute; right:14px; top:12px;
  border:0; background:transparent; cursor:pointer;
  font-size:20px; line-height:1; opacity:.75;
}
.fp-close:hover{ opacity:1; }

/* Шапка */
.fp-cover img{ display:block; width:100%; height:150px; object-fit:cover; }
@media (min-width:600px){ .fp-cover img{ height:160px; } }

/* Тело */
.fp-body{ padding:22px 22px 26px; }
.fp-title{ margin:6px 0 6px; font-size:26px; font-weight:700; color:#111827; letter-spacing:-.02em; }
.fp-sub{ margin:0 0 18px; font-size:14px; color:#6b7280; }

/* Поля (нижняя линия) */
.fp-field{ margin-bottom:14px; }
.fp-label{ position:absolute; left:-9999px; }
.fp-input{
  width:100%;
  height:58px;
  border:1px solid #D9DDE6;
  border-radius:14px;
  background:#fff; padding:0 14px; font-size:15px; color:#111827;
  outline:none; transition:border-color .2s, box-shadow .2s;
}
.fp-input::placeholder{ color:#9ca3af; opacity:1; }
.fp-input:focus{
  border-color:#B8C0D6;
  box-shadow:0 0 0 4px rgba(90,120,255,.10);
}

/* Кнопка */
.fp-btn{
  display:block; width:100%; height:46px;
  border:0; border-radius:999px; cursor:pointer;
  font-weight:700; color:#fff; background:#2b2b2b;
  box-shadow:0 8px 18px rgba(0,0,0,.18) inset, 0 4px 16px rgba(0,0,0,.18);
}
.fp-btn:hover{ filter:brightness(1.05); }
.fp-btn:active{ transform:translateY(1px); }

/* Соцсети и политика */
.fp-social{ margin-top:12px; text-align:center; }
.fp-social__title{ font-size:13px; color:#6b7280; margin-bottom:6px; }
.fp-social__row{ display:flex; gap:14px; align-items:center; justify-content:center; }
.fp-social__row img{ width:22px; height:22px; display:block; }
.fp-policy{ margin-top:12px; font-size:12px; color:#6b7280; }
.fp-policy a{ color:#6366f1; text-decoration:underline; }

/* Сообщения */
.fp-msg{ margin-top:12px; font-size:14px; }
.fp-msg--ok{ color:#065f46; }
.fp-msg--err{ color:#b91c1c; }

/* Антибот-поле скрыто */
.fp-hp{ position:absolute; left:-9999px; width:1px; height:1px; opacity:0; }



/* Ряд под три карточки */
.cards-row-3 {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.program-card-2 {
  flex: 0 1 calc(33.333% - 24px); /* три в ряд */
  max-width: 380px;               /* можно поджать/расширить по вкусу */
}

@media (max-width: 1024px) {
  .program-card-2 {
    flex: 0 1 calc(50% - 24px);
  }
}

@media (max-width: 640px) {
  .cards-row-3 {
    justify-content: stretch;
  }
  .program-card-2 {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* =========================
   Book Preliminaries block
   ========================= */

.book-prelims {
  padding: 90px 0;
  background: transparent; /* или #fff если надо */
}

.book-prelims__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.book-prelims__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 80px;
  row-gap: 40px;
  align-items: start;
}

.book-prelims__left {
  max-width: 520px;
}

.book-prelims__right {
  max-width: 560px;
}

.book-prelims__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.2px;
  color: #111;
}

.book-prelims__quote {
  margin: 18px 0 0;
  padding: 0;
  font-size: 18px;
  line-height: 1.75;
  letter-spacing: 0.2px;
  color: #111;
}

.book-prelims__rule {
  width: 260px;
  height: 1px;
  background: #111;
  margin: 0 0 26px auto; /* прижим к правому краю, как на скрине */
}

.book-prelims__title {
  margin: 0;
  font-weight: 500;
  font-size: 38px;
  line-height: 1.2;
  letter-spacing: -0.6px;
  color: #111;
}

.book-prelims__bottom {
  grid-column: 1 / -1;
  max-width: 980px;
}

/* Responsive */
@media (max-width: 1024px) {
  .book-prelims {
    padding: 70px 0;
  }
  .book-prelims__grid {
    column-gap: 48px;
  }
  .book-prelims__title {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .book-prelims {
    padding: 56px 0;
  }
  .book-prelims__grid {
    grid-template-columns: 1fr;
    row-gap: 26px;
  }
  .book-prelims__rule {
    margin-left: 0;
    margin-right: 0;
    width: 220px;
  }
  .book-prelims__bottom {
    grid-column: auto;
  }
  .book-prelims__title {
    font-size: 32px;
  }
}

@media (max-width: 420px) {
  .book-prelims__container {
    padding: 0 16px;
  }
  .book-prelims__text,
  .book-prelims__quote {
    font-size: 16px;
  }
  .book-prelims__title {
    font-size: 28px;
  }
}
.fp-phone{
  display:flex;
  align-items:stretch;
  border:1px solid #D9DDE6;
  border-radius:14px;
  overflow:hidden;
  background:#fff;
}

.fp-phone__prefix{
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:74px;          /* ширина блока +7 */
  padding:12px 14px;
  background:#F3F5F9;
  border-right:1px solid #D9DDE6;
  font-weight:700;
  color:#111;
  user-select:none;
}

.fp-phone__input{
  flex:1;
  border:0;
  outline:0;
  padding:12px 14px;
  font-size:16px;
  background:transparent;
}

.fp-phone:focus-within{
  border-color:#B8C0D6;
  box-shadow:0 0 0 4px rgba(90,120,255,.10);
}

/* убираем стили input, если где-то .fp-input задаёт рамку */
.fp-phone__input.fp-input{
  border:0 !important;
  box-shadow:none !important;
}

.video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 18px;
  background: #111;
}

.youtube-lazy {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: #111;
  overflow: hidden;
}

.youtube-lazy img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .25s ease, opacity .25s ease;
}

.youtube-lazy:hover img {
  transform: scale(1.04);
  opacity: .82;
}

.youtube-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 72px;
  height: 72px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: #111;
  font-size: 32px;
  line-height: 72px;
  text-align: center;
  padding-left: 5px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, .28);
  transition: transform .25s ease, background .25s ease;
}

.youtube-lazy:hover .youtube-play {
  transform: translate(-50%, -50%) scale(1.08);
  background: #fff;
}

.video-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}


/* ==================================================
   БЛОК «ОФИЦИАЛЬНЫЕ ДОКУМЕНТЫ»
   ================================================== */

.official-documents {
  padding: 70px 20px;
  background: #ffffff;
  color: #303030;
  font-family: "Space Grotesk", Arial, sans-serif;
}

.official-documents *,
.official-documents *::before,
.official-documents *::after {
  box-sizing: border-box;
}

/* Общая сетка */

.official-documents__container {
  width: 100%;
  max-width: 1100px;
  min-height: 500px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: minmax(0, 1fr) 500px;
  gap: 55px;
  align-items: stretch;
}

/* ==================================================
   ЛЕВАЯ ЧАСТЬ
   ================================================== */

.official-documents__content {
  min-width: 0;
  min-height: 500px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Заголовок и описание */

.official-documents__intro {
  margin: 0;
}

.official-documents__title {
  margin: 0 0 28px;

  font-size: clamp(34px, 3vw, 46px);
  line-height: 1.1;
  font-weight: 700;

  color: #303030;
}

.official-documents__description {
  max-width: 570px;
  margin: 0;

  font-size: 19px;
  line-height: 1.6;
  font-weight: 400;

  color: #606060;
}

/* Выделенная строка */

.official-documents__note {
  display: flex;
  align-items: center;
  gap: 26px;
}

.official-documents__note-line {
  display: block;
  width: 4px;
  height: 32px;
  flex: 0 0 4px;

  border-radius: 8px;
  background: #1268f3;
}

.official-documents__note p {
  margin: 0;

  font-size: 19px;
  line-height: 1.45;

  color: #404040;
}

/* Список документов */

.official-documents__result {
  margin: 0;
}

.official-documents__result h3 {
  margin: 0 0 22px;

  font-size: 29px;
  line-height: 1.2;
  font-weight: 700;

  color: #303030;
}

.official-documents__list {
  margin: 0;
  padding: 0;

  list-style: none;
}

.official-documents__list li {
  position: relative;

  min-height: 28px;
  margin: 0 0 13px;
  padding-left: 38px;

  display: flex;
  align-items: center;

  font-size: 17px;
  line-height: 1.45;

  color: #606060;
}

.official-documents__list li:last-child {
  margin-bottom: 0;
}

/* Синий круг */

.official-documents__list li::before {
  content: "";

  position: absolute;
  left: 0;
  top: 50%;

  width: 26px;
  height: 26px;

  border-radius: 50%;
  background: #1268f3;

  transform: translateY(-50%);
}

/* Белая галочка */

.official-documents__list li::after {
  content: "";

  position: absolute;
  left: 8px;
  top: 50%;

  width: 9px;
  height: 5px;

  border-left: 3px solid #ffffff;
  border-bottom: 3px solid #ffffff;

  transform: translateY(-70%) rotate(-45deg);
}

/* ==================================================
   ФОТОГРАФИЯ ДОКУМЕНТА
   ================================================== */

.official-documents__photo {
  width: 100%;
  min-width: 0;
  height: 500px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.official-documents__photo img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: contain;
  object-position: center;
}

/* ==================================================
   ПЛАНШЕТ
   ================================================== */

@media (max-width: 1100px) {
  .official-documents__container {
    max-width: 920px;
    min-height: 460px;

    grid-template-columns: minmax(0, 1fr) 430px;
    gap: 38px;
  }

  .official-documents__content {
    min-height: 460px;
  }

  .official-documents__photo {
    height: 460px;
  }

  .official-documents__title {
    font-size: 38px;
  }

  .official-documents__description,
  .official-documents__note p {
    font-size: 18px;
  }

  .official-documents__result h3 {
    font-size: 27px;
  }

  .official-documents__list li {
    font-size: 16px;
  }
}

/* ==================================================
   МОБИЛЬНАЯ ВЕРСИЯ
   ================================================== */

@media (max-width: 820px) {
  .official-documents {
    padding: 55px 20px;
  }

  .official-documents__container {
    max-width: 680px;
    min-height: 0;

    grid-template-columns: 1fr;
    gap: 38px;
  }

  .official-documents__content {
    min-height: 0;
    gap: 38px;
  }

  .official-documents__photo {
    width: 100%;
    height: auto;
  }

  .official-documents__photo img {
    width: 100%;
    height: auto;
  }
}

/* ==================================================
   МАЛЕНЬКИЕ ЭКРАНЫ
   ================================================== */

@media (max-width: 520px) {
  .official-documents {
    padding: 42px 14px;
  }

  .official-documents__container {
    gap: 30px;
  }

  .official-documents__content {
    gap: 32px;
  }

  .official-documents__title {
    margin-bottom: 20px;

    font-size: 31px;
    line-height: 1.12;
  }

  .official-documents__description {
    font-size: 17px;
    line-height: 1.55;
  }

  .official-documents__note {
    gap: 17px;
    align-items: flex-start;
  }

  .official-documents__note-line {
    height: 29px;
    margin-top: 2px;
  }

  .official-documents__note p {
    font-size: 17px;
  }

  .official-documents__result h3 {
    margin-bottom: 20px;
    font-size: 26px;
  }

  .official-documents__list li {
    min-height: 26px;
    margin-bottom: 14px;
    padding-left: 36px;

    align-items: flex-start;

    font-size: 16px;
    line-height: 1.4;
  }

  .official-documents__list li::before {
    top: 0;

    width: 25px;
    height: 25px;

    transform: none;
  }

  .official-documents__list li::after {
    left: 8px;
    top: 8px;

    transform: rotate(-45deg);
  }
}

/* Расстояние между двумя текстовыми блоками */

.official-documents__notes {
  display: flex;
  flex-direction: column;
  gap: 38px;
}

.official-documents__notes .official-documents__note {
  margin: 0;
}

/* Синяя линия возле каждого текста */

.official-documents__notes .official-documents__note-line {
  align-self: stretch;
  width: 5px;
  height: auto;
  min-height: 48px;
  flex: 0 0 5px;
}

/* Фон и оболочка для фотографии лицензии */

.official-documents__photo {
  width: 100%;
  height: 100%;
  min-height: 500px;
  padding: 35px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #f4f6fb;
  border-radius: 28px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.07);
}

.official-documents__photo img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 600px;

  object-fit: contain;
  object-position: center;
}

/* Планшет */

@media (max-width: 1100px) {
  .official-documents__notes {
    gap: 30px;
  }

  .official-documents__photo {
    min-height: 450px;
    padding: 25px;
  }
}

/* Мобильная версия */

@media (max-width: 820px) {
  .official-documents__notes {
    gap: 26px;
  }

  .official-documents__photo {
    height: auto;
    min-height: 0;
    padding: 20px;
    border-radius: 22px;
  }

  .official-documents__photo img {
    width: 100%;
    height: auto;
    max-height: none;
  }
}