*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --azul-claro: #00c4cc;
  --azul-oscuro: #009da1;
  --naranja: #fbb03b;
  --rosado: #f64590;
  --gris-fondo: #f9f9f9;
  --gris-borde: #e0e0e0;
  --sombra: rgba(0, 0, 0, 0.05);
}

.body-frame4-eligecurso {
  font-family: 'Alexandria', sans-serif;
  line-height: 1.6;
  background: #fefefe;
  color: #222;
  padding: 0px;
  margin: 0;


}

.container-fr4-ec {
  max-width: 1100px;
  margin: auto;
  padding: 30px;
  background: white;
  border-radius: 10px;

}

header h1 {
  font-size: 1.8rem;
  text-align: center;
  font-weight: 600;
}

header h2 {
  text-align: center;
  font-size: 1.5rem;
  margin-top: 10px;
}

header h2 span {
  background-color: #00bcd4;
  color: white;
  padding: 6px 14px;
  border-radius: 6px;
  display: inline-block;
}

.content-fr4-ec {
  display: flex;
  flex-wrap: wrap;
  margin-top: 30px;
  gap: 30px;
}

.image-section-fr4-ec {
  flex: 1 1 300px;
  text-align: center;
}

.image-section-fr4-ec img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.text-section-fr4-ec {

  flex: 2 1 400px;

}

.texto-fecuenciasemanal-ec {
  margin: 20px 0;
  padding: 16px;
  width: 100%;
  display: block;
}

.text-section-fr4-ec h3,
.text-section-fr4-ec h4 {
  margin-top: 20px;
  color: #333;
}


.text-section-fr4-ec p {
  margin-top: 12px;
  text-align: justify;
}

.body-table-fr4-ec {
  font-family: 'Inter', sans-serif;
  margin: 0;
  background-color: var(--gris-fondo);
  padding: 20px;
  color: #333;
}

.table-content-fr4-ec {
  width: 100%;
  border-collapse: collapse;
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px var(--sombra);
}

.thead-fr4-ec .th-thead-fr4-ec {
  background: linear-gradient(90deg, var(--azul-claro), var(--azul-oscuro));
  color: white;
  padding: 16px 12px;
  text-align: center;
  font-weight: 600;
  font-size: 16px;
}

.tbody-fr4-ec .th-tbody {
  background-color: #f1f1f1;
  padding: 16px 12px;
  text-align: center;
  font-weight: 600;
  font-size: 15px;
}

.tbody-fr4-ec .td-tbody {
  padding: 16px 12px;
  font-size: 14px;
  border-top: 1px solid var(--gris-borde);
  text-align: left;
}

.tbody-fr4-ec .tr-tbody-fr4-ec:hover {
  background-color: #fdfdfd;
}

.fila-metodologia-fr4-ec,
.fila-info-fr4-ec {
  margin-top: 24px;
  padding: 16px 20px;
  text-align: center;
  border-radius: 10px;
  font-weight: 500;
  line-height: 1.5;
  box-shadow: 0 2px 8px var(--sombra);
}

.fila-metodologia-fr4-ec {
  background-color: var(--naranja);
  color: white;
}

.fila-info-fr4-ec {
  background-color: var(--azul-claro);
  color: white;
  font-weight: normal;
}

.body-text-down {
  flex: 2 1 400px;
}

/* Contenedor principal */
.container-text-down-fr4-ec {
  max-width: 960px;
  margin: auto;
  padding: 20px;
}

/* Encabezados */
.h2-ambientes {
  margin-top: 30px;
  color: #2c3e50;
  font-size: 1.5rem;
}

/* Lista con checks */
.checklist-fr4-ec {
  list-style: none;
  padding-left: 0;
  margin-top: 15px;
}

.checklist-fr4-ec .li-fr4-ec {
  margin-bottom: 10px;
  padding-left: 5px;
  display: flex;
  align-items: start;
  gap: 10px;
}

.checklist-fr4-ec i {
  color: #2ecc71;
  font-size: 1.2rem;
  margin-top: 3px;
}

/* Footer especial */
.footer-note-fr4-ec {
  margin-top: 40px;
  font-size: 1rem;
  text-align: center;
  color: #e74c3c;
  font-weight: bold;
}

.body-cards-fr4-ec {
  background: #fff;
  padding: 4rem;
  text-align: center;
  box-sizing: border-box;
  margin: 0;
  
  font-family: 'Montserrat', sans-serif;
}

.cards-container-fr4-ec {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.card-fr4-ec {
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  width: 200px;
  padding: 1.5rem;
  color: #fff;
  text-align: left;
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card-fr4-ec:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.card-fr4-ec .h3-fr4-ec-card {
  margin-top: 1rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.card-fr4-ec .p-fr4-ec-card {
  font-size: 0.95rem;
  margin-top: 0.5rem;
  line-height: 1.5;
}

/* Colores personalizados */
.blue {
  background-color: #00C2D9;
}

.orange {
  background-color: #FFB636;
}

.pink {
  background-color: #F5298C;
}

.cyan {
  background-color: #2ED3D3;
}

.icon-fr4-ec {
  font-size: 2.2rem;
}

.cta-button {
  background-color: #00C2D9;
  color: white;
  padding: 1rem 1.5rem;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.3s ease;
}

.cta-button:hover {
  transform: scale(1.05) rotate(-1deg);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.div-quieromas {
  display: flex;
  justify-content: center;   /* Centra horizontalmente */
  align-items: center;       /* Centra verticalmente */
  height: auto;  
  margin-bottom: 10px;           /* Ocupa toda la altura de la ventana */
}

.cta-button-quieromas {
  background-color: #d9006d;
  color: white;
  padding: 1rem 1.5rem;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.cta-button-quieromas:hover {
  transform: scale(1.1);
}





/* Responsive */
@media (max-width: 768px) {
  .texto-fecuenciasemanal-ec {
    margin-left: 0;
    padding: 0px;
    font-size: 0.95rem;
  }

  header h1 {
    font-size: 1.4rem;
  }

  header h2 {
    font-size: 1.2rem;
  }

  .content-fr4-ec {
    flex-direction: column;
    align-items: center;
  }

  .text-section-fr4-ec {
    width: 100%;
  }

  .table-content-fr4-ec,
  .thead-fr4-ec,
  .tbody-fr4-ec,
  .th-thead-fr4-ec,
  .th-tbody,
  .td-tbody,
  .tr-tbody-fr4-ec {
    display: block;
    width: 100%;
  }

  .thead-fr4-ec {
    display: none;
  }

  .tbody-fr4-ec .tr-tbody-fr4-ec {
    background-color: white;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 6px var(--sombra);
    padding: 10px;
  }

  .tbody-fr4-ec .td-tbody,
  .tbody-fr4-ec .th-tbody {
    padding: 12px 10px;
    text-align: left;
    border: none;
    border-bottom: 1px solid var(--gris-borde);
  }

  .tbody-fr4-ec .td-tbody::before {
    content: attr(data-label);
    display: block;
    font-weight: bold;
    margin-bottom: 6px;
    color: #555;
  }

  .tbody-fr4-ec .td-tbody:last-child {
    border-bottom: none;
  }

  .card-fr4-ec {
    width: 100%;
    max-width: 320px;
  }
}

/* RESPONSIVE CUSTOM BREAKPOINTS */

/* 1. Teléfonos muy pequeños en modo vertical */
@media (max-width: 480px) and (orientation: portrait) {

  .container-fr4-ec,
  .container-text-down-fr4-ec {
    padding: 10px;
  }

  .cta-button {
    font-size: 0.9rem;
    padding: 0.8rem 1.2rem;
  }

  .text-section-fr4-ec,
  .texto-fecuenciasemanal-ec {
    padding: 0 10px;
  }

  .card-fr4-ec {
    max-width: 280px;
  }

  .h2-ambientes {
    font-size: 1rem;
  }
}

/* 2. Tablets (hasta 768px) */
@media (max-width: 768px) {

  .text-section-fr4-ec,
  .texto-fecuenciasemanal-ec {
    font-size: 0.95rem;
  }

  .cta-button {
    font-size: 0.95rem;
  }

  .cards-container-fr4-ec {
    gap: 1rem;
  }

  .table-content-fr4-ec {
    font-size: 0.9rem;
  }
}

/* 3. Tablets grandes (912px o menos) */
@media (max-width: 912px) {
  .container-fr4-ec {
    padding: 20px;
  }

  .text-section-fr4-ec h3,
  .texto-fecuenciasemanal-ec h3 {
    font-size: 1.1rem;
  }

  .text-section-fr4-ec p,
  .texto-fecuenciasemanal-ec p {
    font-size: 0.95rem;
  }
}

/* 4. Laptops pequeñas o tablets grandes (1024px o menos) */
@media (max-width: 1024px) {
  .container-fr4-ec {
    padding: 20px;
  }

  .card-fr4-ec {
    width: 48%;
  }

  .cta-button {
    font-size: 1rem;
    padding: 1rem;
  }

  .text-section-fr4-ec,
  .texto-fecuenciasemanal-ec {
    font-size: 1rem;
  }
}

/* 5. Pantallas grandes (1440px o más) */
@media (min-width: 1440px) {
  .container-fr4-ec {
    max-width: 1200px;
  }

  .card-fr4-ec {
    width: 220px;
  }

  .cta-button {
    font-size: 1.1rem;
    padding: 1.2rem 2rem;
  }

  .text-section-fr4-ec,
  .texto-fecuenciasemanal-ec {
    font-size: 1.1rem;
  }
}

/* 6. Tablets en modo horizontal (landscape) */
@media (max-width: 1024px) and (orientation: landscape) {
  .container-fr4-ec {
    padding: 15px;
  }

  .card-fr4-ec {
    width: 45%;
  }

  .cta-button {
    width: 90%;
  }
}

/* 7. Tablets en modo vertical (portrait) */
@media (max-width: 1024px) and (orientation: portrait) {
  .container-fr4-ec {
    padding: 20px;
  }

  .text-section-fr4-ec,
  .texto-fecuenciasemanal-ec,
  .image-section-fr4-ec {
    width: 100%;
  }

  .cards-container-fr4-ec {
    flex-direction: column;
    align-items: center;
  }

  .card-fr4-ec {
    width: 100%;
    max-width: 320px;
  }
}

/* --- Ajustes nuevos que pediste --- */

/* h3 strong y h2-ambientes mismo tamaño, negrita y color */
.text-section-fr4-ec h3 strong,
.texto-fecuenciasemanal-ec h3 strong,
.h2-ambientes {
  font-family: 'Alexandria', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: #2c3e50;
}

/* li-fr4-ec y párrafos con misma tipografía y tamaño */
.li-fr4-ec,
.text-section-fr4-ec p,
.texto-fecuenciasemanal-ec p,
.body-text-down p {
  font-family: 'Visby Round CF', Arial, sans-serif;
  font-weight: lighter;
  font-size: 1rem;
  color: #222;
  line-height: 1.5;
  text-align: justify;
}