
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      background-image: url(../img/back1.png);
      background-repeat: round;
      background-size: cover;
      font-family: Arial, sans-serif;
      color: #fff;      /* светлый текст */
      display: flex;
      width: 100%;
      justify-content: center;
      font-family: "Roboto Mono", monospace;
      font-optical-sizing: auto;
      font-weight: 700;
      font-style: normal;
    }

    header img{
        width: 99px;
    }

    /* Контейнер, в котором фиксируем ширину и высоту для десктопного варианта */
    .page-container {
      height: 1320px;
      padding: 35px 20px;
      position: relative; /* для позиционирования, если нужно */
    }

    header {
      text-align: left;
      margin-bottom: 80px;
    }

    .contact-block a{
        text-decoration: none;
        font-family: "Roboto Mono", monospace;
        font-optical-sizing: auto;
        font-weight: 700;
        font-style: normal;
        width: 285px;
        height: 50px;
        align-items: center;         /* вертикальное выравнивание по центру */
        justify-content: center;
        text-align: center;
        display: inline-flex;
        font-size: 15px;
        background-color: #16141F;
        border: 1px solid #2D293D;
        color: white;
        margin-top: 20px;
    }

    .contact-block a span{
        padding-right: 10px;
        position: relative;
        top: 3px;
    }
    
    .students {
        text-align: left;
        margin-bottom: 20px;
    }

    .students h1 {
      font-size: 2.5rem;
      max-width: 600px;
      height: 2.7em;
      line-height: 35px;
    }

    .students p {
      font-size: 1.2rem;
      max-width: 600px;
      line-height: 1.15;
      color: #7C7A85;
      font-weight: 400;
    }

    .contact-block {
      display: flex;
      margin-top: 20px;
      gap: 20px;
      align-items: center;
    }

    .contact-block input[type="text"] {
      padding: 10px;
      background: #222;
      border: 1px solid #555;
      color: #fff;
      border-radius: 4px;
      outline: none;
      width: 250px;
    }
    .contact-block a:hover {
      background-color: #261f2ead;
    }

    .steps-container {
      margin-top: 60px;
      text-align: center;
    }

    .steps-container h4 {
        font-size: 1rem;
        color: #7D3CFD;
        font-weight: 500;
      }

    .steps-container h2 {
      font-size: 1.9rem;
      font-weight: 500;
    }

    .steps-container h5 {
        color: #7C7A85;
        font-size: 1.1rem;
        margin-bottom: 20px;
        font-weight: 400;
      }

    /* Сетка для карточек */
    .steps-grid {
      margin-top: 20px;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
    }

    .step-card {
      background-image: url(../img/stepCard1NA.png);
      border: 1px solid #333;
      border-radius: 8px;
      padding: 20px;
      width: 317px;
      height: 448px;
      transition: background 0.4s;
      position: relative;
    }

    .step-card-content{
        position: absolute;  
        bottom: 30px;
        left: 25px;
        margin: 0;  
        text-align: left;
        width: 260px;
    }

    .step-card-content p{
        color: #7C7A85;
    }

    .steps-grid > div:nth-child(1) {
        background-image: url(../img/stepCard1NA.png);
    }
    .steps-grid > div:nth-child(2) {
        background-image: url(../img/stepCard2NA.png);
    }
    .steps-grid > div:nth-child(3) {
        background-image: url(../img/stepCard3NA.png);
    }

    .steps-grid > div:nth-child(1):hover {
        background-image: url(../img/stepCard1A.png);
    }
    .steps-grid > div:nth-child(2):hover {
        background-image: url(../img/stepCard2A.png);
    }
    .steps-grid > div:nth-child(3):hover {
        background-image: url(../img/stepCard3A.png);
    }
    

    .step-card-content h3 {
      margin-bottom: 10px;
    }

    .step-card-content p {
      font-size: 0.9rem;
      line-height: 1.4;
    }

    .footer {
      display: flex;
      gap: 20px;
      justify-content: center;
      margin-bottom: 20px;
      margin-top: 40px;
      text-align: center;
    }

    .contacts a{
        text-decoration: none;
        font-family: "Roboto Mono", monospace;
        font-optical-sizing: auto;
        font-weight: 700;
        font-style: normal;
        width: 285px;
        height: 50px;
        align-items: center;         /* вертикальное выравнивание по центру */
        justify-content: center;
        display: inline-flex;
        font-size: 15px;
        background-color: #16141F;
        border: 1px solid #2D293D;
        color: white;
    }

    .contacts h2 {
      margin-bottom: 10px;
    }

    .footer a:hover {
        background-color: #261f2ead;
      }

    .contacts span{
        padding-right: 10px;
    }

    /* Адаптив для мобильных */
    @media (max-width: 768px) {
      .body{
        width: 100%;
        height: auto;
      }
      .page-container {
        width: 100%;
        height: auto; /* обычно даём высоте тянуться */
        padding: 35px auto;
      }
      header {
        margin-bottom: 80px;
      }
      .contact-block a{
          font-size: 13px;
          text-align: center;
          width: 100%;
      }
      .steps-grid {
        grid-template-columns: 1fr; /* карточки «в столбик» */
      }
      .step-card{
        width: 100%;
        background-position: center;
      }
      .step-card-content{
        position: absolute;  
        bottom: 30px;
        left: 25px;
        margin: 0;  
        text-align: left;
        width: 200px;
      }
      .contacts a{
        grid-template-columns: 1fr; /* карточки «в столбик» */
        margin-top: 20px;
      }
    }