@media (max-width: 1366px){
  h1 {
  font-size: 6rem;
}

.principal-title {
  padding-left: 0;
  background-size: 70%;
}

.principal-logins a{
  font-size: 1rem;
}
.principal-img{
  display: flex;
  align-items: end;
  justify-content: start;
}
.principal-img img{
  width: 500px;
}
.secondary {
  padding-top: 40px;
  padding-bottom: 40px;
  gap: 80px;
}

.div1-btn {
  width: 100%;
  height: 20%;
  padding: 10px;
}

.div1-btn a {
  text-decoration: none;
}

.div1-btn button {
  font-size: 1.2rem;
}

.div1-title h3 {
  font-size: 2.2rem;
}

.rank {
  padding-top: 40px;
  align-items: start;
}

.rank-content h2 {
  font-size: 4rem;
}

.rank-content h4 {
  font-size: 1.5rem;
}

.rank-content li {
  font-size: 1.2rem;
}

.rank-btn {
  width: 100%;
  background-color: #02002400;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(2, 100px);
  grid-column-gap: 10px;
  grid-row-gap: 0;
}

.medal {
  width: auto;
  height: 100px;
}

.medal h3 {
  font-size: 2rem;
  margin: 0;
}

/* Imagen visible por defecto */
.rank-img img {
  width: 500px;
}

/* Panel de info oculto por defecto */
.rank-info-panel {
  max-width: 500px;
}

.rank-info-panel h3 {
  font-size: 4rem;
  font-family: "Anton", sans-serif;
  margin-bottom: 1rem;
}
.step {
  min-width: 200px;
  max-width: 300px;
  height: 200px;
}

/* Ícono (reemplazá por tus PNG/SVG) */
.step__icon {
  width: 64px;
  height: 64px;
}

.step__text {
  font-size: .90rem;
}

.agenda {
  padding-top: 100px;
  padding-bottom: 100px;
}

.agenda-container {
background: linear-gradient(0deg, #ffffff 0%, #ffffff 50%, #ffffff 100%), url(/assets/image/cordillera-bg.png);
background-size: contain;
}

.agenda-title h2{
  font-size: 4rem;
}
.mapa {
  padding-top: 100px;
  padding-bottom: 100px;
}
.mapa-title h2{
  font-size: 4rem;
}
.mapa-title span {
  font-size: 1.5rem;
}

.faq-section {
  width: 100%;
  margin: 0;
  padding-top: 80px;
  padding-bottom: 80px;
  background-color: #00496b;
  display: flex;
  flex-direction: column-reverse;
}

.faqs-main {
  width: 70%;
}

.faq-title {
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
}
.faqs-content{
  width: 100%;
}
.faq-title h2 {
  color: #ffffff;
}

.faq-title p {
  color: #ffffff;
}

.faq-title a {
  font-weight: 700;
  color: #ffffff;
}

.faq-title img {
  display: none;
}

.faq-answer {
  padding: 0 20px;
}


.faq-item.active .faq-answer {
  max-height: 500px;
  /* suficiente para la mayoría */
  padding: 20px;
}

.faq-answer p,
.faq-answer ul {
  margin: 10px 0;
}
}

@media (max-width: 600px) {
  .header {
    display: none;
  }

  .sidebar {
    display: none;
  }

  h1 {
    font-size: 5rem;
  }

  h2 {
    font-size: 3rem;
  }

  p {
    font-size: 1rem;
  }

  .principal {
    width: 100%;
    height: 120vh;
    background: #FBF9F3;
    overflow: hidden;
  }

  .principal-title {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: end;
    background: #FBF9F3;
    background: linear-gradient(0deg, #FBF9F3 0%, #FBF9F3 50%, #FBF9F3 100%), url(/assets/image/ciudad-bg\ \(3\).png);
  }

  .principal-content {
    display: flex;
    flex-direction: column-reverse;
  }

  .principal-img {
    height: auto;
    display: block;
    display: flex;
    justify-content: start;
  }

  .principal-img img {
    width: 400px;
  }

  .principal-title {
    padding: 20px;
  }

  .principal-logins {
    width: 100%;
    height: auto;
    display: flex;
    gap: 10px;
  }

  .principal-logins a {
    width: 100%;
    font-size: 0.8rem;
  }

  .cx-flow {
    padding: 0 20px;
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .secondary {
    padding: 0;
  }

  .secondary-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    grid-template-areas: "div1" "div3";
    height: auto;
  }

  .div1 {
    border-radius: 0;
  }

  .div1-btn button {
    border-radius: 10px;
    font-size: 1rem;
  }
.div1 {
  height: 100%;
  grid-area: div1;
  background-color: #D2491B;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.div1-title {
  width: 100%;
  height: 80%;
  padding: 5%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.div1-btn {
  width: 100%;
  height: 20%;
  padding: 10px;
}

  .noticia-slider-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    border-radius: 0;
  }

  .principal-bottom {
    display: none;
  }

  .rank {
    flex-direction: column;
    padding: 40px 20px;
    border-top: 20px solid #bddb6b;
  }
  .rank-content{
    gap: 20px;
  }
  .rank-content ul{
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .rank-content li {
  font-size: 1rem;
  font-weight: 300;
  list-style: none;
  color: white;
}
.rank-img{
  justify-content: center;
}
  .rank-img img {
    width: 100%;
    max-width: 400px;
  }

  .rank-btn {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    /* espacio entre niveles */
    align-items: center;
    /* centra horizontalmente */
    padding: 20px 0;
  }

  .medal {
    width: 100%;
    height: 100px;
  }

  .medal h3 {
    margin: 0;
  }

  .rank-content h2 {
    font-size: 3rem;
  }

  .rank-content h4 {
    font-size: 1.8rem;
  }
.rank-info-panel {
  max-width: 100%;
  height: 400px;
}
  .step {
    display: none;
  }
  .agenda{
    padding: 20px;
  }
  .agenda-title h2{
    font-size: 3rem;
  }
  .agenda-container{
      background: #ffffff;
background: linear-gradient(0deg, #ffffff 0%, #ffffff 50%, #ffffff 100%), url(/assets/image/cordillera-bg.png);
  }
  .agenda-content iframe {
  }
  .mapa{
    padding: 20px;
    height: auto;
  }
  .mapa-frame {
    width: 100%;
    height: 100vh;
  }

  .noticia-slide-content {
    padding: 0 10px;
  }

  .noticia-slide-content a {
    font-size: 0.9rem;
    padding: 10px 16px;
  }
  .faqs-main{
    width: 100%;
  }
    .faq-section {
    flex-direction: column-reverse;
    padding: 40px 20px;
  }

  .faq-title img {
    position: static;
    width: 100%;
    display: none;
  }
  footer {
    width: 100%;
    height: 450px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    background-color: #062735;
    position: relative;
    z-index: 33333;
  }
  .footer-container {
    width: 100%;
    background-color: #00aebe00;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .footer-social {
    width: 100%;
    height: 100px;
    position: relative;
    z-index: 1;
  }
  .footer-social p {
    display: none;
  }
  .social {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
  }
  .social-icon {
    width: 40px;
    height: 40px;
    background-color: white;
    margin: 10px;
    border-radius: 10px;
    padding: 5px;
    display: flex;
    align-items: center;
  }
}

