:root {
  --colornaranjo: #F29D30;
  --colorblanco: #ffffff;
  --colorazul: #193475;
  --colorazulclaro: #E4E7EF;
  --colorverdepistacho: #95B558;
  --colorverdelinea: #558171;
  --colorverdeclaro: #F4F6EB;
  --colorazulribete: #186AAD;
  --colorrojoribete: #E53E4B;
  --colornaranjoclaro: #FDF0DF;
  --colormantequilla:#FEF4E6;
  --espaciado: 1.5rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
@font-face {
  font-family: "Museo_Sans_100";
  src: url("../fonts/MuseoSans-100.otf");
  font-weight: 100;
}
@font-face {
  font-family: "Museo_Sans_300";
  src: url("../fonts/MuseoSans-300.otf");
  font-weight: 300;
}
@font-face {
  font-family: "Museo_Sans_500";
  src: url("../fonts/MuseoSans-500.otf");
  font-weight: 500;
}
@font-face {
  font-family: "Museo_Sans_700";
  src: url("../fonts/MuseoSans_700.otf");
  font-weight: 700;
}
@font-face {
  font-family: "Museo_Sans_900";
  src: url("../fonts/MuseoSans_900.otf");
  font-weight: 900;
}

@font-face {
  font-family: 'gobCL';
  src: url('fonts/gobCL_Regular.eot');
  font-weight: 100;
}

body {
  background-color: var(--colorblanco);
  color: var(--colorazul);
  font-family: "Museo_Sans_300", sans-serif;
  font-size: 20px;
  line-height: 25px;
}

h2 {
  font-family: "Museo_Sans_900";
  font-size: 30px;
  line-height: 48px;
  padding-bottom: 20px;
  color: var(--colorazul);
}

h3 {
  font-family: "Museo_Sans_700";
  font-size: 20px;
  line-height: 25px;
  margin-bottom: 20px;
  color: var(--colorazul);
}
.vmovil{
  display: none;
}
span{
  font-family: "Museo_Sans_900";
}
.span700{
  font-family: "Museo_Sans_700";
}

ul.mi-lista {
  padding-left: 1.75rem;
  list-style-type: disc;
}
ul.mi-lista li::marker {
  font-size: 40px;
}
ul.mi-lista li{
  font-family: "Museo_Sans_300";
  font-size: 20px;
  line-height: 25px;
}
header {
  background-color: var(--colorazul);
}
header  article {
  display: flex;
  flex-direction: column;
  width: min(1000px, 95%);
  margin: 0 auto;
  padding-top: 0;
}
header  article  .link_min a {
  font-size: 16px;
  font-family: "gobCL";
  color: var(--colorblanco);
  text-decoration: none;
  letter-spacing: 0.3px;
}
header  article  .ribete {
  display: flex;
  height: 16px;
  width: 100%;
  max-width: 165px;
}
header article .ribete div:first-child {
  width: 45%;
  background-color: var(--colorazulribete);
}
header article .ribete div:nth-child(2) {
  width: 55%;
  background-color: var(--colorrojoribete);
}

header  article  p {
  font-family: "Museo_Sans_900";
  color: var(--colorblanco);
  letter-spacing: 4px;
}
header article .logo_chile_presente {
  display: flex;
  justify-content: center;
  align-items: center;
}
header article .logo_chile_presente img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}
header article .boton-sitio {
  align-self: flex-end;
  position: relative;
  right: 1.5rem;
  bottom: 1.5rem;
}
header article .btn {
  font-family: "Museo_Sans_700";
  line-height: 11px;
  background-color: var(--colorblanco);
  color: var(--colorazul);
  padding: 0.5rem 1rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
}
article {
    width: min(1190px, 95%);
    margin: 0 auto;
  }
article p {
  font-size: 20px;
  line-height: 25px;
  font-family: "Museo_Sans_300";
  padding-bottom: 30px;
}

nav {
    display: flex;
    flex-direction: row;
    justify-content: center;
    background-color: var(--colornaranjo);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 25px;
    .menu-toggle {
      display: none;
      background: none;
      border: none;
      font-size: 2rem;
      color: var(--colorazul);
      padding: 1rem;
      cursor: pointer;
    }

    ul {
      list-style: none;
      display: flex;
      background-color: var(--colornaranjo);
      height: 68px;
      align-items: center;
      li {
        padding: 1rem 2rem;
        background-color: var(--colornaranjo);
        color: var(--colorazul);
        position: relative;
        cursor: pointer;
        font-weight: bold;
        border-right: 1px solid var(--colorazul);
        height: 39px;
        display: flex;
        align-items: center;
        a {
          color: var(--colorazul);
          font-family: "Museo_Sans_500";
          font-size: 17px;
          text-decoration: none;
          text-align: center;
        }

        &:last-child {
          border-right: none;
        }

        &.activo::after {
          content: "";
          position: absolute;
          bottom: -24px;
          left: 50%;
          transform: translateX(-50%);
          border-width: 10px 10px 0 10px;
          border-style: solid;
          border-color: var(--colornaranjo) transparent transparent transparent;
        }
      }
    }

  @media (max-width: 768px) {
    flex-direction: column;
    align-items: stretch;

    .menu-toggle {
      display: block;
      margin: 0 auto;
    }
    ul {
      flex-direction: column;
      display: none;
      height: auto;

      &.show {
        display: flex;
      }

      li {
        border-right: none;
        border-bottom: 1px solid var(--colorazul);
        &:last-child {
            border-bottom: none;
        }
        &.activo::after {
            bottom: 0;
            left: 10%;
            transform: rotate(90deg) translateY(-50%);
            border-width: 10px 10px 10px 0;
            border-color: transparent var(--colornaranjo) transparent transparent;
        }
      }
    }
  }
}

.lista ul {
  list-style: none;
  font-family: "Museo_Sans_500";
  font-size: 17px;
  padding-bottom: 20px;
}

.lista ul li {
  margin-bottom: 20px;
}

.lista ul li::before {
  content: url("../img/img-checlkist.svg");
  margin-right: 0.5rem;
  vertical-align: text-top;
}
  
/*video home*/
.video-section {
  background-color: var(--colorverdepistacho);
  margin-top: 40px;
}
.video-section article div{
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 10px 0px 10px 16px
}
.video-section img{
  width: 39px;
  height: 33px;
}
.video-section h2 {
  color: var(--colorblanco);
  text-align: left;
  padding-bottom: 0px;
}
.video-section iframe {
  width: 100%;
  max-width: 800px;
  height: 430px;
  border: 16px solid var(--colorblanco);
  margin-bottom: 10px;
}
    

   /*destacado home*/
    .destacados {
      padding: 25px 0px;
    }
    .destacados  hr {
        color: var(--colorverdelinea);
        border-style: solid;
        margin: 10px 0;
      }
    .destacados  .destacados-grid {
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: 2rem;
        }
    .destacados  .destacados-grid     img {
          height: auto;
          display: block;
          width: 100%;
        }
     .destacados  .destacados-grid    p a{
          font-family: "Museo_Sans_900";
          font-size: 22px;
          margin: 0px;
          padding: 0px;
          text-decoration: none;
          color: var(--colorazul);
        }
         @media screen and (min-width: 769px) and (max-width: 1024px) {
            .destacados  .destacados-grid {
              grid-template-columns: 1fr 1fr;
            }
            .destacados  .destacados-grid   img {
            height: auto;
            display: block;
            margin-bottom: 18px;
          }
        }
       
      
    


    
       .componente-grid .mi-grid {
        grid-template-columns: 1fr 1fr;
        display: grid;
        gap: 0;
        column-gap: 1rem;
      }
        .componente-grid .componente-color1{
        background-color: var(--colornaranjoclaro);
      }
        .componente-grid .componente-color2{
        background-color: var(--colorverdeclaro);
      }
        .componente-grid p {
        font-family: "Museo_Sans_300";
        font-size:20px;
        line-height: 25px;
        padding: 12px;
        margin-bottom: 0px;
      }
        .componente-grid div{
        background-color: var(--colorblanco);
        margin-bottom: 16px;
      }
    

    /*que es chile presente */
    .contenedor-tarjetas {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 2rem;
      max-width: 1313px;
      padding-top: 45px;
    }
    .contenedor-tarjetas .tarjeta {
      background-color: var(--colorblanco);
      border: 10px solid var(--colornaranjo);
      border-radius: 3rem;
      position: relative;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      margin-bottom: 25px;
    }
    .contenedor-tarjetas .tarjeta .icono {
      position: absolute;
      top: -30px;
      left: -14px;
      background-color: #ffffff;
      border: 3px solid #0c2e64;
      border-radius: 50%;
      width: 60px;
      height: 60px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .contenedor-tarjetas .tarjeta .contenido {
      padding: 0.5rem 0.75rem 1.0rem 1.5rem;
      background-color: var(--colormantequilla);
      border-radius: 2.4rem;
      height: auto;
    }
    .contenedor-tarjetas .tarjeta .contenido  p {
      font-family: "Museo_Sans_300";
      font-size:  20px;
      line-height: 25px;
      padding:0rem  0.5rem 0px 0.5rem;
      margin: 0.5rem 0;
    }
    .contenedor-tarjetas .tarjeta .contenido  p .check {
      content: url("../img/img-checlkist.svg");
      margin-right: 0.5rem;
    }
    .contenedor-tarjetas .tarjeta .contenido  p strong {
      font-family: "Museo_Sans_700";
      color: var(--colorazul);
    }
    .contenedor-tarjetas .tarjeta .contenido  ul {
      padding-left: 1.5rem;
      margin: 0.5rem 0;
    }
    .contenedor-tarjetas .tarjeta .contenido  ul   li {
      font-family: "Museo_Sans_300";
      font-size:  20px;
      line-height: 25px;
      list-style-type: disc;
      color: var(--colorazul);
      margin-bottom: 0.3rem;
    }
    .contenedor-tarjetas .tarjeta  .subtitulo {
      font-family: "Museo_Sans_300";
      font-size:  20px;
      color: var(--colorazul);
      font-weight: bold;    
      padding: 2.8125rem  1rem 1.5rem 2rem;
    }

    /*trayectoria*/
    
    article  .fuente-datos {
      display: grid;
      grid-template-columns: 2fr 1fr;  
      grid-template-rows: repeat(4, auto);
      gap: 10px;
      width: min(909px, 95%);
      background-color: var(--colorblanco);
      margin-bottom: 25px;
    }
    article .fuente-datos .item {
      border: 1px solid var(--colorazulclaro);
      padding: 10px;
      text-align: center;
      background-color: var(--colorazulclaro);
      display: flex;              
      align-items: center;         
      justify-content: center;   
      text-align: center;  
    }
    article .fuente-datos .item1 { grid-column: 1; grid-row: 1; }
    article .fuente-datos .item2 { grid-column: 2; grid-row: 1; }
    article .fuente-datos .item3 { grid-column: 1; grid-row: 2; }
    article .fuente-datos .item4 { grid-column: 2; grid-row: 2; }
    article .fuente-datos .item5 { grid-column: 1; grid-row: 3; }
    article .fuente-datos .item6 { grid-column: 2; grid-row: 3; }
    article .fuente-datos .item7 { grid-column: 1; grid-row: 4; }
    article .fuente-datos .item8 { grid-column: 2; grid-row: 4; }
    
    .fuente-datos-title{
      display: grid;
      grid-template-columns: 2fr 1fr;  
      width: min(909px, 95%);
      height: 51px;
      background-color: var(--colorazul);
      color: var(--colorblanco);
      align-items: center; 
      padding-left: 12px;
      margin-bottom: 10px;
    }
    .fuente-datos-title .fuente-datos-title-item {
      display: flex;              
      align-items: center;         
      justify-content: left;
      padding-left: 12px;
    }

  /*tabla2 - conoce la plataforma*/
  .tabla-perfiles {
    padding: 20px;
    overflow-x: auto;
    table {
      border-collapse: collapse;
      min-width: 1028px;
  
      thead {
        background-color: var(--colorazul);
        color: var(--colorblanco);
  
        th {
          padding: 15px;
          text-align: left;

          &:nth-child(2),
          &:nth-child(3),
          &:nth-child(4),
          &:nth-child(5),
          &:nth-child(6) {
            width: 100px;  
            text-align: center;
          }
          
        }
      }
  
      tbody {
        tr {
          &:nth-child(even) {
            background-color: var(--colorazulclaro);
          }
  
          &:nth-child(odd) {
            background-color: var(--colorazulclaro);
          }
  
          td {
            padding: 12px 15px;
            border: 8px solid var(--colorblanco);
            &:nth-child(2),
            &:nth-child(3),
            &:nth-child(4),
            &:nth-child(5),
            &:nth-child(6) {
              text-align: center;
              width: 100px; /* 👈 igual que en th para mantener proporción */
            }
          }
  
          .check {
            background: url('../img/img-checlkist.svg') center center no-repeat;
      
          }
        }
      }
    }
  }

  /*recursos*/
  .recursos {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-top: 5.75rem;

    .bloque {
      display: flex;
      align-items: flex-start;
      gap: 1rem;
      background-color: var(--colorverdeclaro);
      border-radius: 1rem;
      padding: var(--espaciado);
      flex-wrap: wrap;
  
      .icono {
        width: 155px;
        height: 155px;
        object-fit: contain;
        flex-shrink: 0;
      }
  
      .contenido {
        flex: 1;
        min-width: 250px;
        h3 {
          font-family: "Museo_Sans_900";
          font-size: 1.5rem;
           line-height: 25px;
          margin: 0 0 0.5rem 0;
        }
  
        ul {
          font-family: "Museo_Sans_500";
          font-size:  24px;
          margin: 0;
          padding-left: 1rem;
          list-style: none;
  
          li {
            margin-bottom: 0.3rem;
          }
        }
      }
    }
  }

  /*preguntas frecuente**/
  .preguntas {
    max-width:1117px;
    margin: auto;
    padding-top: 5.75rem;
    h3 {
      font-family: "Museo_Sans_900";
      font-size: 1.5rem;
      line-height: 25px;
      margin: 0 0 0.5rem 0;
    }
    .preguntas-item {
      background-color: var(--colorverdeclaro);
      border-radius: 12px;
      margin-bottom: 12px;
      overflow: hidden; 
      input {
        display: none;
      }
      .preguntas-question {
        font-family: "Museo_Sans_900";
        font-size: 1.5rem;
        line-height: 25px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem;
        cursor: pointer;
        font-weight: bold;
        img {
          transition: transform 0.3s ease;
          width: 16px;
        }
      }     
      .preguntas-answer {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        padding: 0 1rem;
        color: #333;
        p {
          font-family: "Museo_Sans_500";
          color: var(--colorazul);
          font-size:  24px;
          line-height: 25px;
          margin: 1rem 0;
        }
      }
      input:checked ~ .preguntas-question img {
        transform: rotate(180deg);
      }
      input:checked ~ .preguntas-answer {
        max-height: 500px;
      }
    }
  }


  footer div:first-child {
    background-color: var(--colorazul);
  }

   footer div:first-child section {
      padding: 36px;
      color: var(--colorblanco);
      display: flex;
      flex-direction: row;
      justify-content: space-around;
      align-items: center;
      flex-wrap: wrap;
    }

   footer div:first-child  section h4 {
      color: var(--colorblanco);
      font-family: "Museo_Sans_700";
      font-size: 23px;
      padding-bottom: 25px;
    }

   footer div:first-child section ul li a{
      font-family: "Museo_Sans_300";
      font-size: 20px;
      line-height: 27px;
      padding: 0;
      text-decoration: none;
      color: var(--colorblanco);
    }

   footer div:first-child section .redes {
      width: 42px;
      height: 42px;
      padding: 2px;
    }

   footer div:first-child section .logo-pie {
      max-width: 100%;
    }
 

  footer div:last-child {
    background-color: var(--colornaranjo);
    min-height: 32px;
  }


@media screen and (max-width: 768px) {
  body {
    font-size: 14px;
    line-height: 16px;
  }
  header article .logo_chile_presente img{
    max-width: 50%;
  }
  header article .boton-sitio{
    margin: 20px auto;
    position: unset;
  }
  article p {
    font-size: 14px;
    line-height: 16px;
    font-family: "Museo_Sans_300";
  }
  h2 {
    font-family: "Museo_Sans_900";
    font-size: 24px;
    line-height: 48px;
  }
  .video-section iframe {
    width: 100%;
    max-width: 338px;
    height: 194px;
  }

  .lista ul{
    font-family: "Museo_Sans_300";
    font-size: 14px;
    line-height: 16px;
  }
  .lista ul li::before {
      content: url("../img/img-checlkist2.png");
      margin-right: 0.5rem;
  }  
  
  .destacados .destacados-grid  {
    grid-template-columns: 1fr;
  }
  .destacados .destacados-grid p {
    font-size: 18px;
    line-height: 18px;
  }
  .destacados .destacados-grid img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  footer div:first-child section{
    padding: 36px 10px;
  }
  footer div section div:nth-child(4){
    margin-bottom: 15px;
    margin-top: 28px;
    text-align: center;
    width: 100%;
    
  }
  footer div section div:nth-child(5){
    color: var(--colorblanco);
    font-size: 28px;
    text-align: center;
    font-weight: 900;
    font-family: "Museo_Sans_900";
    margin-bottom: 25px;
  }
  footer div section div:last-child{
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: space-between;
      background-color: var(--colorazul);
  }
  footer div section div:last-child div {
     font-family: "Museo_Sans_700";
     font-size: 10px;
  }
  footer div section div:last-child div:nth-child(2){
    width: 30%;
  }
  footer div section div:last-child div:nth-child(2) img{
    width: 100%;
    height: auto;
  }
  footer div section div:last-child div strong{
     font-family: "Museo_Sans_900";
     font-size: 11px;
  }
  .nonemovil{
    display: none;
  }
  .vmovil{
    display: block;
  }
}