:root {
	--rojo-FQR: #2b96cc;
	---FQR: #B8B8B8;
    --sombra-FQR: 0 0 13px 0 rgb(0 0 0 / 25%);
}



main {
	max-width: 1000px;
	width: 90%;
	margin: 40px auto;
}

.titulo {
	color: #3a3a3a;
	font-weight: 700;
	text-align: center;
	margin: 60px 0;
}

/*! =================================================*/
/*! ============= Categorias ============= */
/*! =================================================*/
.categorias-citas {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
    row-gap: 20px;
	margin-bottom: 60px;
}

.categoria-citas {
	cursor: pointer;
	text-align: center;
	padding: 20px;
	border-radius: 10px;
	background: #fff;
	font-weight: 700;
	color: var(---FQR);
	border: 2px solid transparent;
	transition: .3s ease all;
    grid-template-columns: repeat(1, 2fr);
}

.categoria-citas:hover {
	box-shadow: var(--sombra-FQR);
	color: #000;
}

.categoria-citas:hover path {
	fill: var(--rojo-FQR);
}

.categoria-citas svg {
	width: 64px;
	margin-bottom: 10px;
}

.categoria-citas path {
	fill: var(---FQR-citas);
	transition: .3s ease all;
}

.categoria-citas.activa {
	border: 2px solid var(--rojo-FQR-citas);
	color: #000;
}

.categoria-citas.activa path {
	fill: var(--rojo-FQR);
}

/*! =================================================*/
/*! ============= Contenedor Preguntas ============= */
/*! =================================================*/
.contenedor-preguntas {
	display: none;
	grid-template-columns: 1fr;
	gap: 40px;
}

.contenedor-preguntas.activo {
	display: grid;
}

.contenedor-pregunta {
	background: #eeeeee;
	padding: 40px;
	border: 2px solid transparent;
	border-radius: 10px;
	overflow: hidden;
	transition: .3s ease all;
	cursor: pointer;
}

.contenedor-pregunta:hover {
	box-shadow: var(--sombra-FQR);
}

.contenedor-pregunta.activa {
	border: 2px solid var(--rojo-FQR);
}

/*! =================================================*/
/*! ============= Preguntas ============= */
/*! =================================================*/
.pregunta {
	font-weight: 700;
	font-size: 20px;
	line-height: 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.pregunta img {
	width: 14px;
}

.respuesta {
	color: #808080;
	line-height: 30px;
	max-height: 0;
	opacity: 0;
	transition: .3s ease all;
}

.contenedor-pregunta.activa .respuesta {
	opacity: 1;
	margin-top: 20px;
}

.contenedor-pregunta.activa img {
	transform: rotate(45deg);
}

/*! =================================================*/
/*! ============= Responsive Design ============= */
/*! =================================================*/
@media screen and (max-width: 820px){
	.categorias {
		grid-template-columns: 1fr 1fr;
	}

	.categoria {
		padding: 10px;
		display: flex;
		align-items: center;
		justify-content: center;
		border-radius: 5px;
	}

	.categoria svg {
		width: 30px;
		margin-right: 10px;
		margin-bottom: 0;
	}
}

@media screen and (max-width: 500px){
	.categorias {
		grid-template-columns: 1fr;
	}
}