*,
*::before,
*::after {
  box-sizing: border-box;
}

/* ------------------ ESTILOS GENERALES ------------------ */
.body-frame5-eligecurso {
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  background: #fefefe;
  color: #222;
  padding: 0;
  box-sizing: border-box;
  margin: 0;
  position: relative;
}

.container-titl-fr5-ec {
  text-align: center;
  padding: 0px;
}

.subtitle-fr5-ec {
  font-size: 2.5rem;
  color: #333;
  margin-top: 20px;
  font-weight: bold;
}

.course-fr5-ec {
  font-family: 'Alexandria', sans-serif;
  font-size: 3rem;
  color: #000000;

}

.course-fr5-ec:hover {
  transform: scale(1.1);
}

.highlight-fr5-ec {
  background-color: #FFFF00;
  font-weight: bolder;
  color: #ff3399;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 2.5rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}

/* ------------------ OLAS ------------------ */
.wavy-banner-orange-fr5-ec {
  position: relative;
  width: 100%;
  height: 65vh;
  background: none;
  overflow: hidden;
  text-align: center;
  margin: -8vh 0 0 0;
  padding: 0;
  z-index: 5;
  pointer-events: none;
}

.wavy-fill-orange-fr5-ec {
  position: absolute;
  top: 30%;
  height: 30vh;
  width: 100%;
  background: #FFB43A;
  z-index: 1;
}

.ocean-orange-fr5 {
  position: absolute;
  width: 100%;
  overflow: hidden;
  background: transparent;
  z-index: 2;
}

.ocean-top {
  height: 25vh;
}

.ocean-inverse {
  transform: scaleY(-1);
  height: 25vh;
  bottom: 0;
}

.wave-orange-fr5 {
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 174.47 46.34' xmlns='http://www.w3.org/2000/svg'><path fill='%23FFB43A' d='M0,11.38c0,0,21.13,11.40,43.62,11.38C66.10,22.76,107.97,0.03,130.51,0c22.54-0.03,43.96,11.38,43.96,11.38v34.96H0V11.38z'/></svg>");
  background-repeat: repeat-x;
  background-size: 500px auto;
  background-position: bottom;
  position: absolute;
  bottom: 0;
  width: 200%;
  height: 50vh;
  animation: wave 8s cubic-bezier(0.36, 0.45, 0.63, 0.53) infinite;
  z-index: 3;
}

.wave-orange-fr5:nth-of-type(2) {
  opacity: 0.7;
  animation: swell 5s ease -1.25s infinite, wave 5s cubic-bezier(0.36, 0.45, 0.63, 0.53) -.125s infinite;
  z-index: 2;
}

/* ------------------ ANIMACIONES ------------------ */
@keyframes wave {
  0% {
    background-position-x: -500px;
  }

  100% {
    background-position-x: 0%;
  }
}

@keyframes swell {

  0%,
  100% {
    background-position: right bottom 10px;
  }

  50% {
    background-position: right bottom 0;
  }
}

/* ------------------ CONTENIDO TEXTO ------------------ */
.texto-cont-orange-fr5-ec {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2vw;
  flex-wrap: wrap;
  flex-direction: row;
  padding: 12vh 5vw 0 5vw;
  font-family: 'Fredoka', sans-serif;
  text-align: center;
}

.tiite-orange-fr5-ec {
  font-size: 5vw;
  color: #ffeec2;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1vw;
}

.sun-icon {
  width: 8vw;
  height: auto;
  max-width: 60px;
}

.titlesecond-orange-fr5-ec {
  font-size: 6vw;
  font-weight: bold;
  color: white;
}

.titlesecond-orange-fr5-ec span {
  color: white;
}

/* ------------------ SECCIÓN DE BANNER DE VERANO ------------------ */
.summer-fr5-ec {
  box-sizing: border-box;
  margin: 0;
  font-family: 'Alexandria', sans-serif;
  background-color: #fdfdfd;
  color: #1a1a1a;
  padding: 20px;
}

.banner-sommer-fr5 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: white;
  padding: 0px;
  gap: 20px;
  flex-wrap: wrap;
}

.title-sommer-fr5 {
  flex: 1 1 300px;
  text-align: left;
  width: 100%;
  padding-left: 8vw;
  /* 👈 Usa vw (viewport width) en lugar de px */
  padding-right: 8vw;
  /* 👈 para mantener equilibrio en pantallas grandes */
  box-sizing: border-box;
}

.h1-summer {
  font-size: 3.9rem;
  color: #f4a300;
  font-weight: bold;
}

.h2-summer {
  font-size: 2.5rem;
  color: #1a1a6d;
  margin: -24px 0;
  font-weight: bold;
  line-height: 1;
}

.p-summer {
  font-family: 'Visby Round CF', Arial, sans-serif;
  font-size: 1.3em;
  margin-top: 50px;
  color: #333;
  max-width: 500px;
  font-weight: bold;
}

.img-summer-fr5 {
  flex: 1 1 250px;
  display: flex;
  justify-content: left;
}

.img-summer-fr5 img {
  max-width: 90%;
  height: auto;
  border-radius: 10px;
}

/* ------------------ SECCIÓN DE TEXTO DEL CURSO ------------------ */


.text-summer-fr5-ec {
  max-width: 1100px;
  /* mismo ancho que frame 4 */
  margin: 0 auto;
  /* centra horizontalmente */
  padding: 0 20px;
  /* padding lateral */
  text-align: justify;
  /* si quieres justificar los textos */
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
}

.text-summer-fr5-ec p {
  font-family: 'Visby Round CF', Arial, sans-serif;
  font-weight: lighter;
  font-size: 1rem;
  color: #222;
  line-height: 1.5;
  text-align: justify;
  margin-top: 12px;
}

.section-frm5-ec-summer.checklist-fr4-ec .li-fr4-ec {
  font-family: 'Visby Round CF', Arial, sans-serif;
  font-weight: lighter;
  font-size: 1rem;
  color: #222;
  line-height: 1.5;
  text-align: justify;
  margin-bottom: 10px;
  padding-left: 5px;
  display: flex;
  align-items: start;
  gap: 10px;
}

/* Ícono de check en listas */
.section-frm5-ec-summer.checklist-fr4-ec i {
  color: #2ecc71;
  font-size: 1.2rem;
  margin-top: 3px;
}

/*.container-text-summer-fr5-ec {
  max-width: 960px;
  margin: 0 50px;
  padding: 20px;
  text-align: justify;
}*/

.intro-summer-fr5-ec p {
  margin-bottom: 16px;
  font-size: 1rem;
}

.section-frm5-ec-summer {
  margin-left: 40px;
}


/* ------------------ RESPONSIVE ------------------ */

/* Móviles pequeños (portrait) */
@media screen and (max-width: 480px) {

  .h1-summer {
    font-size: 2.5rem;
    padding-bottom: 20px;
  }

  .h2-summer {
    font-size: 1.8rem;
    padding-bottom: 40px;
  }


  .text-section-fr4-ec h3 strong,
  .texto-fecuenciasemanal-ec h3 strong,
  .h2-ambientes {
    font-size: 1.1rem;
  }

  .checklist-fr4-ec {
    margin-bottom: 10px;
    padding-left: 5px;
    margin: 0;
  }

  .subtitle-fr5-ec,
  .highlight-fr5-ec {
    font-size: 1.5rem;
  }

  .course-fr5-ec {
    font-size: 2rem;
  }

  .wavy-banner-orange-fr5-ec {
    height: 40vh;
  }

  .tiite-orange-fr5-ec {
    font-size: 6vw;
  }

  .titlesecond-orange-fr5-ec {
    font-size: 7vw;
  }

  .title-sommer-fr5 {
    padding-left: 4vw;
    padding-right: 4vw;
    text-align: center;
  }


  .banner-sommer-fr5 {
    flex-direction: column;
    align-items: center;
  }

  .img-summer-fr5 {
    justify-content: center;
  }

  .p-summer {
    margin-top: 20px;
    font-size: 1em;
  }

  .text-summer-fr5-ec {
    padding: 20px;
  }
}

/* Tablets en portrait (verticales) */
@media screen and (min-width: 481px) and (max-width: 768px) {
    .h1-summer {
    font-size: 2.5rem;
    padding-bottom: 20px;
  }

  .h2-summer {
    font-size: 1.8rem;
    padding-bottom: 40px;
  }

  .text-summer-fr5-ec {
    padding: 40px;
  }

  .tiite-orange-fr5-ec {
    font-size: 5vw;
  }

  .titlesecond-orange-fr5-ec {
    font-size: 6vw;
  }

  .banner-sommer-fr5 {
    flex-direction: column;
    text-align: center;
  }

  .title-sommer-fr5 {
    margin-left: 0;
    text-align: center;
  }

  .img-summer-fr5 {
    justify-content: center;
  }

  .p-summer {
    font-size: 1rem;
  }
}

/* Laptops pequeños y tablets landscape */
@media screen and (min-width: 769px) and (max-width: 912px) {
  .text-summer-fr5-ec {
    padding: 40px;
  }

  .title-sommer-fr5 {
    margin-left: 40px;
  }

  .h1-summer {
    font-size: 2.2rem;
    padding-bottom: 20px;
  }

  .h2-summer {
    font-size: 2rem;
  }
}

/* Laptops hasta 1024px */
@media screen and (min-width: 913px) and (max-width: 1024px) {
  .text-summer-fr5-ec {
    padding: 40px;
    overflow: hidden
  }

  .title-sommer-fr5 {
    margin-left: 30px;
  }

  .h1-summer {
    font-size: 2.8rem;
    padding-bottom: 20px;
  }

  .h2-summer {
    font-size: 2.1rem;
  }

  .p-summer {
    font-size: 1.1em;
  }
}

@media screen and (min-width: 1025px) and (max-width: 1439px) {

  .h1-summer {
    font-size: 2.8rem;
    padding-bottom: 20px;
  }

  .h2-summer {
    font-size: 2.1rem;
  }


}
/* Pantallas grandes */
@media screen and (min-width: 1440px) {
  .text-summer-fr5-ec {
    padding: 40px;
  }

  .h1-summer {
    font-size: 4rem;
    padding-bottom: 20px;
  }

  .h2-summer {
    font-size: 3rem;
  }

  .p-summer {
    font-size: 1.4em;
  }
}

/* Landscape en pantallas menores a 1024px */
@media screen and (max-width: 1024px) and (orientation: landscape) {
  .wavy-banner-orange-fr5-ec {
    height: 50vh;
  }

  .tiite-orange-fr5-ec {
    font-size: 4vw;
  }

  .titlesecond-orange-fr5-ec {
    font-size: 5vw;
  }
}

/* Portrait en pantallas menores a 1024px */
@media screen and (max-width: 1024px) and (orientation: portrait) {
  .text-summer-fr5-ec {
    padding: 40px;
  }

  .img-summer-fr5 {
    justify-content: center;
  }
}

/* Portrait en pantallas menores a 480px */
@media screen and (max-width: 480px) and (orientation: portrait) {
  .wave-orange-fr5 {
    height: 30vh;
  }

  .titlesecond-orange-fr5-ec {
    font-size: 6.5vw;
  }
}