  /* --- CONTENEDOR AL 90% --- */
        .custom-section {
	width: 100%;
	/* max-width: 1300px;  Ajustado para albergar botones más grandes 
            box-shadow: 0 2px 10px rgba(0,0,0,0.9)
			 background: #ffffff;
			margin-bottom: 50px;*/
	background-color: rgba(109, 171, 38, 0.8);
	border-radius: 0px;
	text-align: center;
	padding-top: 10px;
	padding-right: 0px;
	padding-bottom: 30px;
	padding-left: 0px;
        }

        .button-grid {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 20px;
        }

        .btn-wrapper {
            position: relative;
        }

        /* --- BOTONES 300x200 --- */
        .btn-toggle {
	width: 550px;
	height: 200px;
	border: 10px solid #FFF;
	border-radius: 15px;
	cursor: pointer;
	background-size: cover;
	background-position: center;
	display: flex;
	flex-direction: column; /* Icono arriba, texto abajo */
	align-items: center;
	justify-content: center;
	color: white;
	transition: opacity 0.3s ease, transform 0.2s ease;
	/* Sombra muy sutil */
	box-shadow: 0 4px 12px rgba(0,0,0,0.08);
	position: relative;
	overflow: hidden;
	padding: 0px;
        }
		  .btn-toggle2 {
	width: 350px;
	height: 190px;
	border: 10px solid #FFF;
	border-radius: 15px;
	cursor: pointer;
	background-size: cover;
	background-position: center;
	display: flex;
	flex-direction: column; /* Icono arriba, texto abajo */
	align-items: center;
	justify-content: center;
	color: white;
	transition: opacity 0.3s ease, transform 0.2s ease;
	/* Sombra muy sutil */
	box-shadow: 0 4px 12px rgba(0,0,0,0.08);
	position: relative;
	overflow: hidden;
	padding: 0px;
        }
		

        /* Efecto Hover: Cambio de opacidad */
        .btn-toggle:hover {
            opacity: 0.8;
            /*transform: translateY(-3px);*/
        }
		 .btn-toggle2:hover {
            opacity: 0.8;
            /*transform: translateY(-3px);*/
        }
        /* Texto editable dentro del botón */
        .btn-text {
	width: 100%;
	font-size: 2.0em;
	line-height: 1;
	font-weight: bolder;
	margin-top: 86px;
	/*text-shadow: 1px 1px 4px rgba(0,0,0,0.5);*/
	background-color: rgba(255, 255, 255, 0.9);
	padding-top: 20px;
	padding-bottom: 35px;
	font-family: 'Quicksand', sans-serif;
	color: #000;
        }
  .destacado {
	font-size: 1.4em;
	font-weight: 900;	
	text-shadow: 3px 3px 5px rgba(206,206,206,0.97);
        }
        .btn-toggle i {
            font-size: 40px;
            text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
        }

       
       /* --- SUBMENÚ ABSOLUTO --- */
        .submenu {
	display: none;
	position: absolute;
	top: 50%; /* Centrado sobre el botón */
	left: 50%;
	transform: translate(-50%, -50%);
	width: 95%; /* Proporcional al botón */
	background: rgba(255, 255, 255, 0.98);
	border-radius: 12px;
	box-shadow: 0 15px 35px rgba(0,0,0,0.2);
	z-index: 100;
	border: 1px solid #CCC;
	padding-top: 15px;
	padding-right: 0;
	padding-bottom: 10px;
	padding-left: 0;
        }

        .submenu.active {
            display: block;
            animation: fadeIn 0.3s ease;
        }

       .close-btn {
	position: absolute;
	top: 8px;
	right: 12px;
	color: #FFF;
	cursor: pointer;
	font-size: 20px;
	bottom: 10px;
	border-radius: 50%;
	background-color: #008ecd;
	height: 50px;
	width: 50px;
	padding-top: 14px;
	padding-right: 6px;
	padding-bottom: 6px;
	padding-left: 6px;
        }
		
		
        .submenu a {
	display: block;
	padding: 12px;
	text-decoration: none;
	color: #626566;
	;
	font-weight: bolder;
	line-height: 18px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #CCCCCC;
	font-size: 1.3em;
        }

        .submenu a:last-child { border-bottom: none; }
        .submenu a:hover { background: #f8f8f8; color: #000; }

        @keyframes fadeIn {
            from { opacity: 0; transform: translate(-50%, -45%); }
            to { opacity: 1; transform: translate(-50%, -50%); }
        }

        /* Ajuste para móviles */
        @media (max-width: 600px) {
			.btn-text {	
	font-size: 1.0em;	
        }
		.submenu a {   
    font-size: 1em;
}
            .btn-toggle {
                width: 90vw; /* En móviles muy pequeños ocupa casi todo el ancho */
                height: 180px;
            }
			.btn-toggle2 {
                width: 45vw; /* En móviles muy pequeños ocupa casi todo el ancho */
                height: 180px;
            }
			
			        }
					 /* Clases de Imagen CSS (Edita las URLs aquí) */
      
		.img-1 {
	background-image: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.1)), url('../img/perfiles-profesionales-titulo.png');
	background-color: #076f07;
}
        .img-2 {
	background-image: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.1)), url('../img/propuestas-curriculares.png');
	background-color: #e8b004;
}
.img-3 {
	background-image: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.1)), url('../img/imagen-itinerario-personal.png');
	background-color: #00777e;
}
.img-4 {
	background-image: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.1)), url('../img/06-bto-pricipal.png');
	background-color: #f1de22;
}
.img-5 {
	background-image: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.1)), url('../img/6-8-bto-pricipal.png');
	background-color: #920083;
}
.img-6 {
	background-image: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.1)), url('../img/8-10-bto-pricipal.png');
	background-color: #076f07;
}
.img-7 {
	background-image: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.1)), url('../img/10-12-bto-pricipal.png');
	background-color: #89b891;
}
.img-8 {
	background-image: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.1)), url('../img/5-7-evaluacion.png');
	background-color: #3b63a4;
}
.img-9 {
	background-image: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.1)), url('../img/8-10-evaluacion.png');
	background-color: #3b63a4;
}
.img-10 {
	background-image: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.1)), url('../img/11-13-evaluacion.png');
	background-color: #3b63a4;
}
.img-11 {
	background-image: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.1)), url('../img/recursos-linguisticos.png');
	background-color: #cc291a;
}

.img-12 {
	background-image: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.1)), url('../img/recursos-linguisticos-mate2.png');
	background-color: #cc291a;
}

.img-13 {
	background-image: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.1)), url('../img/recursos-linguisticos-len.png');
	background-color: #cc291a;
}

.img-14 {
	background-image: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.1)), url('../img/recursos-linguisticos-mate2.png');
	background-color: #cc291a;
}

.img-15 {
	background-image: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.1)), url('../img/recursos-linguisticos-mate2.png');
	background-color: #cc291a;
}

.img-16 {
	background-image: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.1)), url('../img/recursos-linguisticos-len.png');
	background-color: #cc291a;
}

.img-17 {
	background-image: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.1)), url('../img/geografia-politica.png');
	background-color: #cc291a;
}

.img-18 {
	background-image: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.1)), url('../img/geografia.png');
	background-color: #cc291a;
}
.img-19 {
	background-image: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.1)), url('../img/geografia-politica.png');
	background-color: #cc291a;
}
.img-20 {
	background-image: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.1)), url('../img/deporte-titulo.png');
	background-color: #cc291a;
}
.img-21 {
	background-image: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.1)), url('../img/filosofia.png');
	background-color: #cc291a;
}
.img-22 {
	background-image: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.1)), url('../img/plastica.png');
	background-color: #cc291a;
}


.img-23 {
	background-image: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.1)), url('../img/audiovisuales.png');
	background-color: #cc291a;
}