@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

:root {
  --deepBlack: #0d1221;
  --prussianBlue: #1d2d44;
  --payneGrey: #3e5c76;
  --blueSilverLake: #748CAB;
  --eggShell: #f0ebd8;
  --deepSkyBlue: #008CBA;
  --darkGray: #333333;
  --headerBackground: #0E2954;
  --menuLinkColor: #B4C0D4;
  --heroGradientEnd: #003366;
  --heroSubtitleColor: #ADD8E6;
  --highlightYellow: #FFD700;
  --subtituloColor: #E0E0E0;
  --sectionBackground: #1a3a60;
  --mainTextColor: #f0f0f0;
  --secondaryTextColor: #ADD8E6;
  --tertiaryTextColor: #cccccc;
  --imageBorderColor: #008CBA;
  --opinionCardBackground: #0E223D;
  --footerBackground: #0E223D;
  --buttonPrimary: #007bff;
  --buttonPrimaryHover: #0056b3;
  --bubbleBackground: #1d2d44;
  --bubbleBorderHover: #008CBA;
  --legalBgLight: #e6f7f2;
  --legalHeaderColor: #004d40;
  --legalCardBg: #ffffff;
  --legalCardBorder: rgba(0, 77, 64, 0.1);
  --legalCardHoverBg: #f0fff0;
  --legalCardShadow: rgba(0, 0, 0, 0.12);
  --legalCardHoverShadow: rgba(0, 0, 0, 0.18);
  --legalTitleColor: #00564d;
  --legalTitleBorder: rgba(0, 77, 64, 0.1);
  --legalIconColor: #004d40;
  --legalSubtitleColor: #222;
  --legalLinkColor: #007bff;
  --legalLinkHoverColor: #0056b3;
  --legalPdfIconColor: #dc3545;
  --legalTextColor: #555;
  --legalButtonBg: #004d40;
  --legalButtonHoverBg: #00796b;
  --legalButtonShadow: rgba(0, 0, 0, 0.1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'DM Sans', 'Forum', 'Roboto', Arial, sans-serif;
  text-decoration: none;
  border: none;
  outline: none;
  transition: .2s linear;
  color: var(--eggShell);
  font-size: 1rem;
}

body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  background-color: var(--deepBlack);
  color: var(--eggShell);
}

header {
  background-color: var(--headerBackground);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 5%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1000;
  height: 100px;
}

.logo-izquierdo {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-right: 60px;
}

.logo-izquierdo img {
  height: 5rem;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.logo-mobile {
  display: none;
}

.logo-desktop {
  display: block;
}

.logo-capitt {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  padding: 5px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.inicio {
  font-size: 0.7rem;
}

.logo-capitt img {
  height: 5rem;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-left: 60px;
}

.menu-opciones {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 30px;
}

.menu-opciones li {
  margin-left: 0;
  position: relative;
}

.menu-opciones li a {
  color: var(--menuLinkColor);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 5px 0px;
  display: block;
  transition: color 0.3s ease;
}

.menu-opciones li a:hover {
  color: var(--eggShell);
}

.menu-opciones li a i {
  margin-left: 5px;
  font-size: 0.8rem;
  vertical-align: middle;
  transition: transform 0.3s ease;
}

.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--headerBackground);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  list-style: none;
  padding: 10px 0;
  margin: 0;
  min-width: 220px;
  z-index: 1000;
  border-radius: 5px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s;
}

.submenu li {
  margin: 0;
}

.submenu li a {
  color: var(--menuLinkColor);
  padding: 8px 20px;
  display: block;
  white-space: nowrap;
  font-size: 1rem;
}

.submenu li a:hover {
  background-color: var(--prussianBlue);
  color: var(--eggShell);
}

.menu-icon {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--menuLinkColor);
}

.fullscreen-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.fullscreen-menu ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.fullscreen-menu li {
  margin: 25px 0;
}

.fullscreen-menu a {
  color: var(--eggShell);
  font-size: 2rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.fullscreen-menu a:hover {
  color: var(--highlightYellow);
}

.menu-close-icon {
  position: absolute;
  top: 30px;
  right: 30px;
  font-size: 3rem;
  color: var(--eggShell) !important;
  cursor: pointer;
  transition: color 0.3s ease;
  z-index: 99999;
}

.menu-close-icon:hover {
  color: var(--highlightYellow) !important;
}

.hero {
  background: linear-gradient(to right, var(--heroGradientStart), var(--heroGradientEnd));
  color: var(--eggShell);
  text-align: center;
  padding: 100px 20px;
  position: relative;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  z-index: 1;
}

.hero .contenedor {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
  background-color: transparent;
}

.hero-subtitle {
  font-size: 2rem;
  margin-bottom: 10px;
  color: var(--heroSubtitleColor);
}

.titulo_principal {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  text-transform: uppercase;
  color: var(--highlightYellow);
}

.linea {
  width: 200px;
  height: 3px;
  background-color: var(--eggShell);
  margin: 0px auto 30px auto;
}

.subtitulo {
  font-size: 1.3rem;
  margin-bottom: 40px;
  line-height: 1.5;
  color: var(--subtituloColor);
}

.conocimiento-contenedor {
  background-color: var(--sectionBackground);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 35px;
  min-height: 200px;
  padding: 3rem;
  margin: 0 auto;
}

.curiosidad {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 35px;
  width: 100%;
  max-width: 800px;
  background-color: var(--opinionCardBackground);
  padding: 2rem;
  border-radius: 1rem;
  border: 2px solid transparent;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.curiosidad:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
  border-color: var(--bubbleBorderHover);
}

.curiosidad-imagen {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.titulo-arco-contenedor {
  width: 100%;
  max-width: 100%;
  margin-bottom: -15px;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.titulo-arco {
  width: 100%;
  height: auto;
  overflow: visible;
}

.titulo-arco text {
  font-size: 1.4rem;
  fill: var(--highlightYellow);
}

.guri {
  height: 10rem;
  width: auto;
  flex-shrink: 0;
  margin-bottom: 1rem;
  z-index: 2;
}

.curiosidad-texto {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-grow: 1;
  text-align: center;
}

.curiosidad-texto h3 {
  display: none;
}

.curiosidad-texto p {
  font-size: 1.1rem;
  color: var(--tertiaryTextColor);
  line-height: 1.6;
  text-align: justify;
}

.modal-personalizado {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}

.modal-contenido {
  background-color: var(--eggShell);
  margin: 10% auto;
  padding: 20px;
  border-radius: 10px;
  width: 60%;
  max-width: 600px;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.cerrar-modal {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 28px;
  cursor: pointer;
}

#contenedor-botonera {
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  margin: 0 5px;
  transition: background-color 0.3s ease;
}

.btn-navegacion {
  padding: 8px 15px;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  border: none;
  transition: background-color 0.3s ease;
}

.btn-deshabilitado,
.btn-navegacion:disabled {
  background-color: var(--payneGrey);
  color: var(--blueSilverLake);
  cursor: not-allowed;
  opacity: 0.6;
}

.btn-anterior-activo {
  background-color: var(--buttonPrimary);
  color: var(--eggShell);
}

.btn-anterior-activo:hover {
  background-color: var(--buttonPrimaryHover);
}

.btn-siguiente-activo {
  background-color: var(--legalPdfIconColor);
  color: var(--eggShell);
}

.btn-siguiente-activo:hover {
  background-color: #b02a37;
}

#indicador-dia {
  margin: 0 15px;
  padding: 5px 10px;
  font-weight: bold;
  background-color: var(--deepSkyBlue);
  color: var(--eggShell);
  border-radius: 5px;
  display: inline-block;
}

.icon-navegacion {
  display: inline-block;
  margin: 0 5px;
}

.btn-navegacion .btn-text-desktop {
  display: inline;
}

#contenedorDetalle {
  display: none !important;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 20px;
  padding: 15px 25px;
  margin-top: 1.5rem;
  width: 100%;
  background-color: rgba(62, 92, 118, 0.5);
  border-radius: 8px;
  border: 1px solid rgba(116, 140, 171, 0.5);
  box-sizing: border-box;
}

#contenedorDetalle p {
  margin: 0;
  flex-grow: 1;
}

#btnAbrirDetalle {
  flex-shrink: 0;
  padding: 0.6rem 1.2rem;
  background-color: var(--buttonPrimary);
  color: var(--eggShell);
  cursor: pointer;
  white-space: nowrap;
  margin-left: auto;
  border-radius: 0.5rem;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

#btnAbrirDetalle:hover {
  background-color: var(--buttonPrimaryHover);
}

#modalDetalle {
  display: none;
  position: fixed;
  z-index: 99999;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.75);
}

.modal_mas_detalle {
  background-color: var(--bubbleBackground);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  max-width: 90%;
  max-height: 90vh;
  padding: 3rem;
  border-radius: 10px;
  overflow-y: auto;
  box-sizing: border-box;
  color: var(--deepBlack);
}

.contenidoDetalle {
  padding: 1.5rem;
  font-size: 1.1rem;
  text-align: justify;
}

#btnCerrarDetalle {
  position: fixed;
  top: 20px;
  right: 40px;
  font-size: 50px;
  font-weight: bold;
  cursor: pointer;
  z-index: 100001;
}

.cards-container {
  display: flex;
  column-gap: 30px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
}

.card {
  background-color: var(--eggShell);
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 200px;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.card h2 {
  margin-bottom: 5px;
  color: var(--darkGray);
}

.card p {
  font-size: 0.9rem;
  color: var(--blueSilverLake);
}

.card img {
  max-width: 130px;
  height: auto;
  margin-top: 15px;
}

#card-aprender {
  background-color: #e0f7fa;
}

#card-crear {
  background-color: #fffde7;
}

#card-inventar {
  background-color: #ede7f6;
}


.content-display {
  display: none;
  width: 80%;
  max-width: 900px;
  background-color: transparent !important;
  border-radius: 0;
  box-shadow: none !important;
  min-height: auto;
}

.content-display.active {
  display: block;
}

.contenido-aprendizaje {
  background-color: var(--bubbleBackground);
  border-radius: 18px;
  box-shadow: 0 10px 25px var(--legalCardShadow);
  padding: 35px;
  text-align: left;
  transition: transform 0.4s ease-out, box-shadow 0.4s ease-out, background-color 0.4s ease-out;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border: 1px solid var(--legalCardBorder);
  position: relative;
  overflow: hidden;
  color: var(--eggShell);
  width: 100%;
  height: auto;
}

.contenido-aprendizaje:hover {
  transform: translateY(-10px);
  box-shadow: 0 18px 35px var(--legalCardHoverShadow);
  border-color: var(--bubbleBorderHover);
}

.contenido-aprendizaje::before {
  content: '\f02d';
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 2.5rem;
  color: var(--heroSubtitleColor);
  z-index: 0;
}

.contenido-aprendizaje h3 {
  font-size: 1.6rem;
  color: var(--eggShell);
  margin-bottom: 25px;
  font-family: 'DM Sans', sans-serif;
  display: flex;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--heroSubtitleColor);
  position: relative;
  margin-right: 1.1rem;
  z-index: 1;
}

.contenido-aprendizaje h3 .fas {
  margin-right: 12px;
  color: var(--eggShell);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contenido-aprendizaje h4 {
  font-size: 1.25rem;
  color: var(--eggShell);
  margin-top: 25px;
  margin-bottom: 12px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
}

.contenido-aprendizaje ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contenido-aprendizaje ul li {
  margin-bottom: 12px;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--tertiaryTextColor);
}

.contenido-aprendizaje ul li:last-child {
  margin-bottom: 0;
}

.contenido-aprendizaje ul li a {
  color: var(--legalLinkColor);
  text-decoration: none;
  transition: color 0.3s ease, text-decoration 0.3s ease;
  display: flex;
  align-items: flex-start;
}

.contenido-aprendizaje ul li a:hover {
  color: var(--eggShell);
  text-decoration: underline;
}

.contenido-aprendizaje ul li a .fas {
  margin-right: 10px;
  color: var(--legalPdfIconColor);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contenido-legal p {
  font-size: 1.05rem;
  color: var(--eggShell);
  line-height: 1.6;
  margin-bottom: 25px;
  flex-grow: 1;
}

.content-section {
  display: none;
  animation: fadeIn 0.5s ease-in-out;
}

.content-section.active {
  display: block;
}

.content-section h3 {
  color: var(--eggShell);
  margin-bottom: 20px;
  border-bottom: 2px solid var(--eggShell);
  padding-bottom: 10px;
}

.block {
  background-color: var(--eggShell);
  border: 1px solid var(--eggShell);
  border-radius: 5px;
  padding: 15px;
  margin-bottom: 15px;
  line-height: 1.6;
  color: var(--darkGray);
}

.card-separator {
  margin: 0 10px;
  font-size: 1.4rem;
  font-weight: 700;
  text-align: center;
  width: auto;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  line-height: 1;
}

.card-separator .fas.fa-arrow-down {
  font-size: 1rem;
  margin-top: 5px;
}

.burbuja-contenido {
  background-color: var(--bubbleBackground);
  border-radius: 18px;
  box-shadow: 0 10px 25px var(--legalCardShadow);
  padding: 35px;
  text-align: left;
  transition: transform 0.4s ease-out, box-shadow 0.4s ease-out, background-color 0.4s ease-out;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--legalCardBorder);
  position: relative;
  overflow: hidden;
  color: var(--darkGray);
  width: 100%;
}

.burbuja-contenido:hover {
  transform: translateY(-10px);
  box-shadow: 0 18px 35px var(--legalCardHoverShadow);
  border-color: var(--bubbleBorderHover);
}

.burbuja-contenido::before {
  content: '\f02d';
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 2.5rem;
  color: var(--heroSubtitleColor);
  z-index: 0;
}

.burbuja-contenido h3 {
  font-size: 1.6rem;
  color: var(--eggShell);
  margin-bottom: 25px;
  font-family: 'DM Sans', sans-serif;
  display: flex;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--heroSubtitleColor);
  position: relative;
  margin-right: 1.1rem;
  z-index: 1;
}

.burbuja-contenido h3 .fas {
  margin-right: 12px;
  color: var(--eggShell);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.burbuja-contenido h4 {
  font-size: 1.25rem;
  color: var(--eggShell);
  margin-top: 25px;
  margin-bottom: 12px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
}

.burbuja-contenido ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.burbuja-contenido ul li {
  margin-bottom: 12px;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--darkGray);
}

.burbuja-contenido ul li:last-child {
  margin-bottom: 0;
}

.burbuja-contenido ul li a {
  color: var(--legalLinkColor);
  text-decoration: none;
  transition: color 0.3s ease, text-decoration 0.3s ease;
  display: flex;
  align-items: flex-start;
}

.burbuja-contenido ul li a:hover {
  color: var(--legalLinkHoverColor);
  text-decoration: underline;
}

.burbuja-contenido ul li a .fas {
  margin-right: 10px;
  color: var(--legalPdfIconColor);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.burbuja-contenido ul li a .fas .fas2 {
  color: var(--deepSkyBlue);
}

.burbuja-contenido p {
  font-size: 1.5rem;
  color: var(--eggShell);
  line-height: 1.6;
  margin-bottom: 25px;
  flex-grow: 1;
}

.card .icon-mobile {
  display: none;
}

.contenedor_footer {
  background-color: var(--footerBackground);
  color: var(--eggShell);
  padding: 30px 20px;
  text-align: center;
}

.contenedor_footer .titulo_footer {
  font-size: 1.3rem;
  margin-bottom: 15px;
  line-height: 1.4;
  color: var(--eggShell);
}

.contenedor_footer .info_contacto {
  font-size: 1rem;
  margin-bottom: 20px;
  line-height: 1.6;
  color: var(--tertiaryTextColor);
}

.contenedor_footer .logo_footer {
  margin-bottom: 20px;
}

.contenedor_footer .logo_footer img {
  max-width: 80px;
  height: auto;
}

.contenedor_footer .linea_footer {
  width: 80%;
  height: 1px;
  background-color: var(--deepSkyBlue);
  margin: 20px auto;
}

.contenedor_footer .copyright {
  font-size: 0.8rem;
  color: var(--deepSkyBlue);
}

@media(min-width: 1025px) {
  header {
    padding: 5px 2% !important;
    /* Optimización de espacio lateral */
    height: 85px !important;
  }

  .logo-izquierdo {
    padding-right: 20px !important;
  }

  nav {
    padding-left: 20px !important;
  }

  .logo-izquierdo img,
  .logo-capitt img {
    height: 3.5rem !important;
    /* Reducción para acomodar zoom */
  }

  .logo-desktop {
    display: block !important;
  }

  .logo-mobile {
    display: none !important;
  }

  .hero {
    padding: 40px 15px !important;
    min-height: 500px !important;
  }

  .menu-opciones {
    gap: 15px !important;
    /* Reducción de gap entre elementos */
  }

  .menu-opciones li a {
    color: var(--menuLinkColor);
    text-decoration: none;
    font-size: 0.75rem;
    padding: 5px 0px;
    display: block;
    transition: color 0.3s ease;
  }

  .hero .contenedor {
    padding: 0 10px;
  }

  .conocimiento-contenedor {
    padding: 3rem;
  }

  .curiosidad {
    flex-direction: column;
    align-items: center;
  }

  .curiosidad-imagen {
    flex-direction: column;
    align-items: center;
  }

  .titulo-arco-contenedor {
    width: 100%;
    max-width: 65%;
  }

  .titulo-arco text {
    font-size: 4rem;
  }

  .guri {
    height: 7rem;
  }

  .curiosidad-texto {
    align-items: center;
    text-align: center;
  }

  .contenido-aprendizaje h3 {
    font-size: 1rem;
  }

  .curiosidad-texto h3 {
    font-size: 1rem;
  }

  .curiosidad-texto p {
    font-size: 1rem;
  }

  .btn-navegacion .icon-navegacion {
    font-size: 1rem;
  }

  .btn-navegacion {
    font-size: 1rem !important;
  }

  #indicador-dia {
    font-size: 1rem !important;
  }

  .contenido-aprendizaje h3 {
    font-size: 1.2rem;
  }

  .btn-navegacion {
    padding: 4px 8px !important;
  }

  .btn-navegacion .icon-navegacion {
    font-size: 0.95rem;
  }

  .btn-navegacion .btn-text-desktop {
    font-size: 0.95rem;
  }

  .card .icon-mobile {
    display: none !important;
  }

  .card img.img-desktop {
    display: block !important;
  }

  .contenedor_footer {
    padding: 30px 15px !important;
  }

  .contenedor_footer .titulo_footer {
    font-size: 1.1rem !important;
  }

  .contenedor_footer .info_contacto {
    font-size: 0.95rem !important;
  }

  .contenedor_footer .logo_footer img {
    max-width: 60px;
  }

  .contenedor_footer .copyright {
    font-size: 0.8rem;
  }
}

@media (max-width: 1150px) {
  nav .menu-opciones {
    display: none !important;
  }

  .menu-icon {
    display: block !important;
  }

  /* Asegurar que el menú responsive funcione desde aquí */
  .fullscreen-menu {
    display: none;
    /* Se activa por JS */
  }
}

@media(max-width: 1024px) {
  header {
    padding: 5px 3% !important;
    height: 85px !important;
  }

  .logo-izquierdo {
    padding-right: 20px !important;
  }

  nav {
    padding-left: 20px !important;
  }

  .logo-izquierdo img,
  .logo-capitt img {
    height: 3.5rem !important;
  }

  .logo-desktop {
    display: none !important;
  }

  .logo-mobile {
    display: block !important;
  }

  nav .menu-opciones {
    display: none !important;
  }

  .fullscreen-menu a {
    font-size: 1.5rem;
  }

  .menu-close-icon {
    top: 15px;
    right: 10px;
    font-size: 3rem;
  }

  .menu-icon {
    display: block !important;
  }

  .hero {
    padding: 40px 15px !important;
    min-height: auto !important;
  }

  .hero .contenedor {
    padding: 0 10px;
  }

  .conocimiento-contenedor {
    padding: 3rem;
  }

  .curiosidad {
    flex-direction: column;
    align-items: center;
  }

  .curiosidad-imagen {
    flex-direction: column;
    align-items: center;
  }

  .titulo-arco-contenedor {
    width: 100%;
    max-width: 65%;
  }

  .titulo-arco text {
    font-size: 4rem;
  }

  .guri {
    height: 7rem;
  }

  .curiosidad-texto {
    align-items: center;
    text-align: center;
  }

  .contenido-aprendizaje h3 {
    font-size: 1rem;
  }

  .curiosidad-texto h3 {
    font-size: 1rem;
  }

  .curiosidad-texto p {
    font-size: 1rem;
  }

  .btn-navegacion .icon-navegacion {
    font-size: 1rem;
  }

  .btn-navegacion {
    font-size: 1rem !important;
  }

  #indicador-dia {
    font-size: 1rem !important;
  }

  .contenido-aprendizaje h3 {
    font-size: 1.2rem;
  }

  .btn-navegacion {
    padding: 4px 8px !important;
  }

  .btn-navegacion .icon-navegacion {
    font-size: 0.95rem;
  }

  .btn-navegacion .btn-text-desktop {
    font-size: 0.95rem;
  }

  .card .icon-mobile {
    display: none !important;
  }

  .card img.img-desktop {
    display: block !important;
  }

  .contenedor_footer {
    padding: 30px 15px !important;
  }

  .contenedor_footer .titulo_footer {
    font-size: 1.1rem !important;
  }

  .contenedor_footer .info_contacto {
    font-size: 0.95rem !important;
  }

  .contenedor_footer .logo_footer img {
    max-width: 60px;
  }

  .contenedor_footer .copyright {
    font-size: 0.8rem;
  }
}

@media(max-width: 768px) {
  header {
    padding: 5px 3% !important;
    height: 85px !important;
  }

  .logo-izquierdo {
    padding-right: 20px !important;
  }

  nav {
    padding-left: 20px !important;
  }

  .logo-izquierdo img,
  .logo-capitt img {
    height: 3.5rem !important;
  }

  .logo-desktop {
    display: none !important;
  }

  .logo-mobile {
    display: block !important;
  }

  nav .menu-opciones {
    display: none !important;
  }

  .fullscreen-menu a {
    font-size: 1.5rem;
  }

  .menu-close-icon {
    top: 15px;
    right: 10px;
    font-size: 3rem;
  }

  .menu-icon {
    display: block !important;
  }

  .hero {
    padding: 40px 15px !important;
    min-height: auto !important;
  }

  .hero .contenedor {
    padding: 0 10px;
  }

  .conocimiento-contenedor {
    padding: 2rem;
  }

  .curiosidad {
    flex-direction: column;
    align-items: center;
  }

  .curiosidad-imagen {
    flex-direction: column;
    align-items: center;
  }

  .titulo-arco-contenedor {
    width: 100%;
    max-width: 300%;
  }

  .titulo-arco text {
    font-size: 2rem;
  }

  .guri {
    height: 6rem;
  }

  .curiosidad-texto {
    align-items: center;
    text-align: center;
  }

  .contenido-aprendizaje h3 {
    font-size: 1rem;
  }

  .curiosidad-texto h3 {
    font-size: 1rem;
  }

  .curiosidad-texto p {
    font-size: 0.95rem;
  }

  .cards-container {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;
    align-items: center;
    row-gap: 15px;
    column-gap: 0;
    margin-bottom: 20px;
    width: 100%;
  }

  .card-separator {
    margin: 0 5px;
    font-size: 0.7rem;
    font-weight: 700;
    text-align: center;
    width: auto;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    line-height: 1;
    flex-basis: auto;
    order: 0;
  }

  .card-separator .fas.fa-arrow-right {
    font-size: 1rem;
    margin-top: 5px;
    transform: rotate(0deg);
  }

  #contenedor-botonera {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px auto;
  }

  #contenedorDetalle {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px;
  }

  #btnAbrirDetalle {
    margin-left: 0;
    width: 100%;
    margin-top: 10px;
  }

  .btn-navegacion .btn-text-desktop {
    display: none !important;
  }

  .btn-navegacion .icon-navegacion {
    display: block !important;
    font-size: 1.2rem;
    margin: 0;
    padding: 0;
  }

  .btn-navegacion {
    padding: 6px 10px !important;
    font-size: 1rem !important;
    margin: 0 3px !important;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
  }

  #indicador-dia {
    padding: 5px 8px !important;
    font-size: 0.8rem !important;
    margin: 0 5px !important;
    display: inline-block;
    line-height: 1;
  }

  .card {
    min-height: 0 !important;
    width: 65px;
    height: 65px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
  }

  .card h2 {
    display: block !important;
    font-size: 0.6rem !important;
    line-height: 1;
    margin-top: 2px !important;
    margin-bottom: 0.5rem !important;
    padding: 0 !important;
    color: var(--darkGray);
    font-weight: 700;
    text-align: center;
  }

  .card p,
  .card img.img-desktop {
    display: none !important;
  }

  .card .icon-mobile {
    display: block !important;
    font-size: 1.1rem;
    color: var(--darkGray);
    margin: 0;
    padding: 0;
  }

  .card.active {
    box-shadow: 0 0 0 3px var(--highlightYellow);
  }

  .content-display {
    width: 95%;
  }

  .contenido-aprendizaje ul li {
    margin-bottom: 12px;
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--tertiaryTextColor);
  }

  .contenedor_footer {
    padding: 30px 15px !important;
  }

  .contenedor_footer .titulo_footer {
    font-size: 1.1rem !important;
  }

  .contenedor_footer .info_contacto {
    font-size: 0.95rem !important;
  }

  .contenedor_footer .logo_footer img {
    max-width: 60px;
  }

  .contenedor_footer .copyright {
    font-size: 0.8rem;
  }
}

@media(max-width: 480px) {
  header {
    padding: 5px 3% !important;
    height: 85px !important;
  }

  .logo-izquierdo {
    padding-right: 20px !important;
  }

  nav {
    padding-left: 20px !important;
  }

  .logo-izquierdo img,
  .logo-capitt img {
    height: 3.5rem !important;
  }

  .logo-desktop {
    display: none !important;
  }

  .logo-mobile {
    display: block !important;
  }

  nav .menu-opciones {
    display: none !important;
  }

  .fullscreen-menu a {
    font-size: 1.5rem;
  }

  .menu-close-icon {
    top: 15px;
    right: 10px;
    font-size: 3rem;
  }

  .menu-icon {
    display: block !important;
  }

  .hero {
    padding: 40px 15px !important;
    min-height: auto !important;
  }

  .hero .contenedor {
    padding: 0 10px;
  }

  .titulo_principal {
    font-size: 1.5rem;
  }

  .conocimiento-contenedor {
    padding: 2rem;
  }

  .curiosidad {
    flex-direction: column;
    align-items: center;
  }

  .curiosidad-imagen {
    flex-direction: column;
    align-items: center;
  }

  .titulo-arco-contenedor {
    width: 180% !important;
    max-width: none !important;
    display: flex;
    justify-content: center;
    overflow: visible;
  }

  .titulo-arco {
    width: 100%;
    height: auto;
    transform: scale(1.2);
    transform-origin: center;
  }

  .titulo-arco text {
    font-size: 8vw !important;
    font-weight: 900;
    fill: var(--highlightYellow);
    text-transform: uppercase;
  }

  .guri {
    height: 7rem;
    margin-top: -20px;
    z-index: 5;
  }

  .curiosidad-texto {
    align-items: center;
    text-align: center;
  }

  .contenido-aprendizaje h3 {
    font-size: 1rem;
  }

  .curiosidad-texto h3 {
    font-size: 1rem;
  }

  .curiosidad-texto p {
    font-size: 0.95rem;
  }

  .cards-container {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;
    align-items: center;
    row-gap: 15px;
    column-gap: 0;
    margin-bottom: 20px;
    width: 100%;
  }

  .card-separator {
    margin: 0 5px;
    font-size: 0.7rem;
    font-weight: 700;
    text-align: center;
    width: auto;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    line-height: 1;
    flex-basis: auto;
    order: 0;
  }

  .card-separator .fas.fa-arrow-right {
    font-size: 1rem;
    margin-top: 5px;
    transform: rotate(0deg);
  }

  #contenedor-botonera {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px auto;
  }

  #contenedorDetalle {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px;
  }

  #btnAbrirDetalle {
    margin-left: 0;
    width: 100%;
    margin-top: 10px;
  }

  .btn-navegacion .btn-text-desktop {
    display: none !important;
  }

  .btn-navegacion .icon-navegacion {
    display: block !important;
    font-size: 1.2rem;
    margin: 0;
    padding: 0;
  }

  .btn-navegacion {
    padding: 6px 10px !important;
    font-size: 1rem !important;
    margin: 0 3px !important;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
  }

  #indicador-dia {
    padding: 5px 8px !important;
    font-size: 0.8rem !important;
    margin: 0 5px !important;
    display: inline-block;
    line-height: 1;
  }

  .card {
    min-height: 0 !important;
    width: 65px;
    height: 65px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
  }

  .card h2 {
    display: block !important;
    font-size: 0.6rem !important;
    line-height: 1;
    margin-top: 2px !important;
    margin-bottom: 0.5rem !important;
    padding: 0 !important;
    color: var(--darkGray);
    font-weight: 700;
    text-align: center;
  }

  .card p,
  .card img.img-desktop {
    display: none !important;
  }

  .card .icon-mobile {
    display: block !important;
    font-size: 1.1rem;
    color: var(--darkGray);
    margin: 0;
    padding: 0;
  }

  .card.active {
    box-shadow: 0 0 0 3px var(--highlightYellow);
  }

  .content-display {
    width: 95%;
  }

  .contenido-aprendizaje ul li {
    margin-bottom: 12px;
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--tertiaryTextColor);
  }

  .contenedor_footer {
    padding: 30px 15px !important;
  }

  .contenedor_footer .titulo_footer {
    font-size: 1.1rem !important;
  }

  .contenedor_footer .info_contacto {
    font-size: 0.95rem !important;
  }

  .contenedor_footer .logo_footer img {
    max-width: 60px;
  }

  .contenedor_footer .copyright {
    font-size: 0.8rem;
  }
}