body.inicio{
  header{
    background-image: url('images/banner_inicio.png');
    background-size: cover;
    background-position: right;
    background-repeat: no-repeat;
    color: #fff;

    #menu_sup{
      ul{
        li{
          a{
            color: #fff;
          }
        }
        li:last-of-type a{
          color: #275477;
          background-color: #fff;
        }
      }
    }
  }
  .consigue_tu_plaza{
    display:block;
    margin: 70px 0;
    h2{
      font-size: 60px;
      margin: 0;
    }
    p{
      font-size: 24px;
      margin-top: 10px;
      line-height: 1.4;
      font-weight: 500;
    }
    >div{
      display: grid;
      grid-template-columns: repeat(2, auto);
      align-items: center;
      text-transform: uppercase;
      width: 320px;

      >div{
        &:first-child{
          border-right: 1px solid #fff;
          padding-right: 10px;
          font-size: 18px;
        }
        &:last-child{
          padding-left: 30px;
          font-size: 22px;
        }
        span{
          font-weight: 700;
        }
      }
    }
  }
  .quienes_somos{
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 150px;
    padding-top: 120px;
    h2{
      color: var(--op1);
      font-size: 36px;
      font-weight: 800;
      margin: 0;
    }
    p{
      color: #515978;
      font-weight: 400;
      margin-top: 20px;
      line-height: 150%;
      font-size: 20px;
      &:first-child{
        margin-top: 10px;
      }
      span{
        font-weight: 700;
      }
    }
    div.img{
      background-image: url('images/quienes_somos.png');
      background-repeat: no-repeat;
      background-size: contain;
      background-position: right;
      width: 568px;
      height: 575px;
    }
  }
  .nuestros_cursos{
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 80px 0 60px;
    h2{
      color: var(--op1);
      font-size: 36px;
      font-weight: 800;
      margin-bottom: 10px;
    }
    p{
      color: #515978;
      font-weight: 400;
      line-height: 150%;
      font-size: 20px;
      margin: 0;
    }
  }
  .cards_cursos{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;

    >div{
      background-color: #fff;
      border: 1px solid #E0E0E0;
      border-radius: 12px;
      padding: 30px;
      cursor: pointer;
      img{
        width: 315px;
        height: 315px;
      }
      h3{
        font-size: 20px;
        font-weight: 800;
        color: var(--op1);
        text-transform: uppercase;
        margin-bottom: 6px;
      }
      p{
        font-size: 16px;
        font-weight: 400;
        line-height: 24px;
        margin: 0;
        color: #828282;
      }
      .btn{
        background-color: var(--op1);
        padding: 12px 20px;
        border-radius: 6px;
        cursor: pointer;
        color: #fff;
        font-size: 16px;
        font-weight: 600;
        width: fit-content;
        margin-top: 10px;
      }
    }
  }
  .nuestra_plataforma{
    margin: 80px 0 100px;
    background-color: var(--op1);
    color: #fff;
    padding: 50px;

    .wrap{
      width: 1100px;
      display: grid;
      grid-template-columns: 350px 1fr;
      align-items: center;
      gap: 150px;

      >div:first-child{
        h2{
          font-size: 36px;
          font-weight: 600;
          margin-top: 0;
          margin-bottom: 8px;
        }
        p{
          font-size: 21.51px;
          font-weight: 500;
          line-height: 150%;
        }
        >a{
          background-color: #6D758F;
          padding: 12px 20px;
          border-radius: 6px;
          cursor: pointer;
          color: #fff;
          font-size: 16px;
          font-weight: 600;
          width: fit-content;
          text-decoration: none;
        }
      }
      >div.img{
        background-image: url('images/PORTADA_PRIME.png');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        border-radius: 12px;
        width: 589px;
        height: 390px;
        margin-top: 50px;
        margin-bottom: -120px;
      }
    }
  }
  .plat_inteligente{
    width: 1100px;
    .encabezado{
      display: flex;
      justify-content: space-between;
      align-items: flex-end;

      h2{
        font-size: 36px;
        font-weight: 800;
        color: var(--op1);
        margin-bottom: 8px;
      }
      p{
        font-size: 18px;
        font-weight: 400;
        line-height: 28px;
        color: var(--op1);
        margin: 0;
        width: 480px;
      }
    }
    .cont{
      display: grid;
      grid-template-columns: 1fr 1fr;
      >div{
        display: flex;
        align-items: center;
        gap: 25px;
        margin-top: 30px;
        img{
          width: 40px;
          height: 40px;
          padding: 12px;
          border: 2px solid var(--op1);
          border-radius: 8px;
        }
        h3{
          font-size: 20px;
          font-weight: 800;
          color: var(--op1);
          margin: 0;
          margin-bottom: 6px;
        }
        p{
          font-size: 16px;
          font-weight: 400;
          line-height: 24px;
          color: var(--op1);
          margin: 0;
          width: 330px;
        }
      }
    }
  }
  .valoraciones{
    margin: 80px 0;
    background-color: #f0f0f0;
    float: left;
    width: 100%;
    .wrap{
      width: 1100px;
      padding: 50px 0;
    }
    .encabezado{
      display: flex;
      justify-content: center;
      flex-direction: column;
      align-items: center;
      text-align: center;
      float: left;
      width: 100%;
      
      h2{
        margin: 0;
        font-size: 34px;
        font-weight: 600;
        color: #191919;
      }
      p{
        font-size: 16px;
        font-weight: 400;
        line-height: 24px;
        color: #191919;
        margin-bottom: 0;
      }
    }
  }
  .preg_frecuentes{
    h2{
      font-size: 34px;
      font-weight: 600;
      color: #1E242C;
    }
    .cont{
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 30px;
      align-items: flex-start;

      .preg{
        cursor:pointer;
        user-select:none;
        display: flex;
        flex-direction: column;
        background-color: #fff;
        border: 1px solid #E0E0E0;
        border-radius: 12px;
        padding: 20px;
        position: relative;
        &.abierta{
          background-color: #F0F0F0;
          box-shadow: 0 0 40px rgba(6, 51, 88, 0.4);
          .resp{
            display: block;
            display: grid;
            grid-template-columns: 40px 1fr;
            align-items: center;
            gap: 20px;
            position: relative;
          }
          .num{
            background-color: #fff;
          }
          img{
            transform: rotate(225deg);
          }
        }
        >div{
          display: grid;
          grid-template-columns: 40px 1fr;
          align-items: center;
          gap: 20px;
          position: relative;

          .num{
            width: 45px;
            height: 45px;
            border-radius: 50%;
            background-color: #EDEEF0;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--op1);
          }
          h3{
            font-size: 20px;
            font-weight: 500;
            color: #1E242C;
            margin: 0;
            padding-right: 50px;
          }
          img{
            position: absolute;
            top: 0;
            right: 0;
          }
        }

        .resp{
          display: none;
          color: var(--op1);
          font-size: 16px;
          font-weight: 400;
          line-height: 150%;
          padding-right: 50px;
        }
      }
    }
  }
  .contacto{
    .wrap{
      display: grid;
      grid-template-columns: 1fr 1fr;
    }
    .img{
      background-image: url('images/curso_pn_2.png');
      background-repeat: no-repeat;
      background-size: contain;
      background-position: left;
    }
    h2{
      font-size: 34.3px;
      font-weight: 600;
      color: var(--op1);
    }
    .cont{
      padding-top: 50px;
      padding-bottom: 70px;
      padding-left: 60px;
    }
    .datos{
      .grid2{
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
      }
      label{
        display: flex;
        flex-direction: column;
        font-size: 16px;
        font-weight: 600;
        color: var(--op1);
        margin-bottom: 20px;

        input, textarea,select{
          margin-top: 8px;
          padding: 14px;
          border: none;
          border-radius: 6px;
          font-family: 'Inter';
          font-size: 16px;
          font-weight: 400;
          color: var(--op1);
          box-shadow: 0 1px 8px rgba(0, 0, 0, 0.15);
          outline: none;
          background-color: #fff;
        }
        textarea{
          resize: vertical;
          min-height: 120px;
        }
        select{
          cursor: pointer;
        }
      }
      .btn{
        background-color: var(--op1);
        padding: 12px 20px;
        border-radius: 6px;
        cursor: pointer;
        color: #fff;
        font-size: 16px;
        font-weight: 600;
        width: fit-content;
        i{
          font-size: 14px;
          margin-left: 2px;
        }
      }
    }
  }
}

@media (max-width: 768px) {
  body.inicio {
    header {
      background-position: center;
      background-image: url('images/banner_inicio_movil.jpg');
      
      #menu_sup ul {
        flex-direction: column;
      }
    }
    
    .consigue_tu_plaza {
      margin: 25px 0;
      h2 {
        font-size: 36px;
        text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.8);
      }
      
      p {
        font-size: 18px;
        text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
      }
      
      > div {
        width: 100%;
        grid-template-columns: 1fr;
        gap: 20px;
        
        > div:first-child {
          border-right: none;
          border-bottom: 1px solid #fff;
          padding-right: 0;
          padding-bottom: 10px;
        }
        
        > div:last-child {
          padding-left: 0;
        }
      }
    }
    
    .quienes_somos {
      grid-template-columns: 1fr;
      gap: 40px;
      padding-top: 60px;
      text-align: center;
      h2 {
        font-size: 28px;
      }
      
      p {
        font-size: 16px;
      }
      
      div.img {
        width: 100%;
        height: 300px;
        background-position: center;
      }
    }
    
    .nuestros_cursos {
      grid-template-columns: 1fr;
      padding: 40px 0 30px;
      text-align: center;
      h2 {
        font-size: 28px;
      }
      
      p {
        font-size: 16px;
      }
    }
    
    .cards_cursos {
      grid-template-columns: 1fr;
      text-align: center;
      
      > div img {
        width: 100%;
        height: auto;
      }
      div:has(>a){
        float: left;
        width: 100%;
        text-align: center;
        margin-top: 20px;

        a{
          float: none;
        }
      }
    }
    
    .nuestra_plataforma {
      margin: 40px 0 50px;
      padding: 30px 20px;
      text-align: center;
      
      .wrap {
        grid-template-columns: 1fr;
        gap: 30px;
        
        > div:first-child h2 {
          font-size: 28px;
        }
        
        > div:first-child p {
          font-size: 16px;
          padding-bottom: 8px;
        }
        
        > div.img {
          width: 100%;
          height: 250px;
          margin-top: 10px;
          margin-bottom: 0;
        }
        >div:first-child a{
          margin-top: 20px;
        }
      }
    }
    
    .plat_inteligente {
      width: 100%;
      padding: 0 20px;
      
      .encabezado {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        text-align: center;
        h2 {
          font-size: 28px;
        }
        
        p {
          font-size: 16px;
        }
      }
      
      .cont {
        grid-template-columns: 1fr;
      }
    }
    
    .valoraciones .wrap {
      padding: 30px 20px;
      
      .encabezado h2 {
        font-size: 28px;
      }
    }
    
    .preg_frecuentes {
      float: left;
      padding: 0 20px;
      position: relative;
      width: 100%;
      box-sizing: border-box;
      h2 {
        font-size: 28px;
        text-align: center;
      }
      
      .cont {
        grid-template-columns: 1fr;
      }
    }
    
    .contacto {
      margin-top: 40px;
      .wrap {
        grid-template-columns: 1fr;
      }
      
      .img {
        height: 300px;
        width: 300px;
        margin-left: 37px;
      }
      h2 {
        text-align: center;
        font-size: 28px;
        margin-top: 0;
      }
      
      .cont {
      padding: 30px 20px;
      }
      
      .grid2 {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
      }
    }
  }
  .carrusel-testimonios .item {
    flex: 0 0 80% !important;
}
}