/* HEADER HERO PARA LAPTOPS MOVILES Y TABLETS */
header.heroClaseB {
    background: url("../assets/fondo_headerClaseB.jpg") no-repeat center/cover;
    text-align: center;
    color: #ffffff;
    height: 90vh; /* 25% de la altura de la ventana */
    min-height: 120px; /* evita que se haga demasiado pequeño */
    max-height: 600px; /* evita que se haga demasiado grande */
    display: flex;
    flex-direction: column;
    justify-content: center; /* centra verticalmente el contenido */
    padding: 0 20px;
}

/* Espaciado y tamaño en escritorio */
header.heroClaseB h1 {
    margin-top: 0;
    margin-bottom: 0.3rem; /* espacio pequeño entre título y párrafo */
    font-size: 2rem;
}

header.heroClaseB p {
    margin-top: 0;
    font-size: 1.1rem;
}


/* ===== Ajustes para tablets ===== */
@media (min-width: 769px) and (max-width: 1024px) {
    header.heroClaseB {
        height: 50vh;  /* más compacto que desktop, pero más alto que móviles */
        max-height: 450px; /* opcional para evitar que se agrande demasiado */
    }

    header.heroClaseB h1 {
        font-size: 2rem;  /* ajustar tamaño del título */
        margin-bottom: 0.25rem;
    }

    header.heroClaseB p {
        font-size: 1rem;
    }
}

/* ===== Ajustes para móviles ===== */
@media (max-width: 768px) {
    header.heroClaseB {
        height: 30vh;  /* más compacto para móviles */
        max-height: 300px;
    }

    header.heroClaseB h1 {
        font-size: 1.8rem;
        margin-bottom: 0.2rem;
    }

    header.heroClaseB p {
        font-size: 1rem;
    }
}

/* ===== Ajustes para móviles muy pequeños ===== */
@media (max-width: 480px) {
    header.heroClaseB {
        height: 25vh;
        max-height: 250px;
    }

    header.heroClaseB h1 {
        font-size: 1.5rem;
        margin-bottom: 0.15rem;
    }

    header.heroClaseB p {
        font-size: 0.95rem;
    }
}

/*  F I N   -    Espaciado y tamaño en escritorio */



.licencia-b {
  padding: 50px 20px;
  background: #f9f9f9;
  font-family: Arial, sans-serif;
  color: #333;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
}

.licencia-b .container {
  max-width: 1000px;
  margin: 0 auto;
}

.licencia-b h2 {
  font-size: 32px;
  text-align: center;
  margin-bottom: 20px;
  color: #222;
}

.licencia-b h2 span {
  color: #d32f2f;
}

.licencia-b .intro {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.6;
}

.licencia-b .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.licencia-b .card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #444;
}

.licencia-b .card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 1.8;
}

.licencia-b .requisitos {
  margin-top: 40px;
  max-width: 400px;
  margin-right: 0px;
}

.licencia-b .requisitos h2 {

  font-size: 22px;
  margin-bottom: 20px;
  color: #434AFE;
  text-align: left;   /* título al costado izquierdo */

  /* font-size: 22px;
  margin-bottom: 15px;
  color: #444; */
}

.licencia-b .requisitos p {
  font-size: 15px;
  line-height: 1.8;
  max-width: 400px;
  margin: 0;
}

/* Responsive */
/* @media (max-width: 768px) {
  .licencia-b .grid {
    grid-template-columns: 1fr;
  }
} */


/* ---- MÓVILES Y TABLETS ---- */
@media (max-width: 1024px) {
  .licencia-b {
    flex-direction: column; /* apila elementos */
    align-items: center;
  }

  .licencia-b .requisitos {
    margin: 0 0 20px 0; /* deja espacio con la imagen */
    max-width: 100%;
    text-align: left; /* opcional: centrar texto */
  }

  .licencia-b .requisitos h2 {
    text-align: center; /* título centrado en móviles */
  }

  .contenedor-imgAutoB {
    width: 100%;
    text-align: center;
  }

  .contenedor-imgAutoB .estiloImg {
    width: 100%;
    height: auto;
    display: block;
    max-width: 500px; /* limita tamaño en pantallas pequeñas */
    margin: 0 auto;
  }
}



/* Contenedor general de texto + imagen */
.contenido-requisitos {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  max-width: 500px;
  margin: 0 auto;
}

.texto-requisitos {
  flex: 2;
  font-size: 15px;
  line-height: 1.8;
  color: #333;
}

.texto-requisitos i {
  color: #28a745; /* verde para el check */
}

.contenedor-imgAutoB {
    flex: 1;
    text-align: right;
    max-width: 400px;
}

.contenedor-imgAutoB img {
    max-width: 490px;
    height: auto;
}

.estiloImg {
    border-radius:16px; 
    overflow:hidden; 
    box-shadow:0 2px 6px rgba(0,0,0,0.8);
}

