:root {
	--primario: #0053b5;
	--azul-suave: #0053b5;
	--sombra: 0 0 13px 0 rgba(185,185,185, .25);
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

main {
	max-width: 1000px;
	width: 90%;
	margin: 40px auto;
}

.title-faq{
	margin-top: 150px;
	margin-bottom: 50px;
}

.categorias .categoria p{
    color: #0053b5;
    font-family: 'tipografia_para_titulo';
    font-weight: bold;
    font-size: 22px;
}

/*! =================================================*/
/*! ============= Categorias ============= */
/*! =================================================*/
.categorias {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-bottom: 60px;
}

.categoria {
	cursor: pointer;
	text-align: center;
	padding: 20px;
	background: #fff;
	font-weight: 700;
	color: var(--azul-suave);
	border: 2px solid transparent;
	transition: .3s ease all;
}

.categoria:hover {
	box-shadow: var(--sombra);
	color: #000;
}

.categoria:hover path {
	fill: var(--primario);
}

.categoria svg {
	width: 64px;
	margin-bottom: 10px;
}

.categoria path {
	fill: var(--azul-suave);
	transition: .3s ease all;
}

.categoria.activa {
	border: 2px solid var(--primario);
	color: #000;
}

/*Categoria en estado activo*/
.categoria.activa path {
	fill: var(--azul-suave);
}

/*! =================================================*/
/*! ============= Contenedor Preguntas ============= */
/*! =================================================*/
.contenedor-preguntas {
	display: none;
	grid-template-columns: 1fr;
	gap: 20px;
}

.contenedor-preguntas.activo {
	display: grid;
}

.contenedor-pregunta {
	background: #fff;
	padding: 20px;
	border: 2px solid transparent;
	overflow: hidden;
	transition: .3s ease all;
	cursor: pointer;
}

.contenedor-pregunta:hover {
	box-shadow: var(--sombra);
}

.contenedor-pregunta.activa {
	border: 2px solid var(--primario);
}

/*! =================================================*/
/*! ============= Preguntas ============= */
/*! =================================================*/
.pregunta {
	font-weight: 700;
	font-size: 20px;
	line-height: 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-family: 'tipografia_para_texto';
}

.pregunta-larga{
	line-height: 30px;/*Interlineado*/
}

.pregunta img {
	width: 14px;
}

.respuesta {
	color: #808080;
	line-height: 30px;
	max-height: 0;
	opacity: 0;
	transition: .3s ease all;
	font-family: 'tipografia_para_texto';
	text-align: justify;/*Justificando texto como en word*/
}

.contenedor-pregunta.activa .respuesta {
	opacity: 1;
	margin-top: 20px;
}

.contenedor-pregunta.activa img {
	transform: rotate(45deg);
}


/*=============================================
Preguntas frecuentes | (Diseño Responsivo)
=============================================*/


/*RD(1024px)*/
@media screen and (max-width: 1024px){
	.pregunta {
		font-size: 18px;
	}	
}

/*RD(768px)*/
@media screen and (max-width: 768px){
	.pregunta{
		font-size: 16px;
	}
	.respuesta{
		font-size: 16px;
	}	
}

/*RD(720px)*/
@media screen and (max-width: 720px){
	.pregunta{
		font-size: 14px;/*Tamaño de fuente*/
	}

	.pregunta-larga{
		line-height: 25px;/*Interlineado*/
	}

	.respuesta{
		font-size: 13px;/*Tamaño de fuente*/
	}	
}

/*RD(820px)*/
@media screen and (max-width: 820px){
	.categorias {
		grid-template-columns: 1fr 1fr;
	}

	.categoria {
		padding: 10px;
		display: flex;
		align-items: center;
		justify-content: center;

	}

	.categoria svg {
		width: 30px;
		margin-right: 10px;
		margin-bottom: 0;
	}
}

@media screen and (max-width: 500px){
	.categorias {
		grid-template-columns: 1fr;
	}
}

/*RD(591px)*/
@media screen and (max-width: 591px){
	.title-faq{
	  font-size: 40px;/*Tamaño de fuente*/
	  line-height: 40px;/*Interlineado*/
	}
}

/*RD(411px)*/
@media screen and (max-width: 411px){
	.pregunta{
		font-size: 14px;/*Tamaño de fuente*/
		line-height: 20px;/*Interlineado*/
	}
	.respuesta{
		font-size: 14px;
	}	
}

/*RD(354px)*/
@media screen and (max-width: 354px){
	.title-faq{
	  font-size: 35px;/*Tamaño de fuente*/
	}
}



/*RD(320px)*/
@media screen and (max-width: 411px){
	.pregunta{
		font-size: 12px;/*Tamaño de fuente*/
	}
	.respuesta{
		font-size: 12px;
	}	
}


/*RD(292px)*/
@media screen and (max-width: 292px){
	.title-faq{
	  font-size: 28px;/*Tamaño de fuente*/
	  line-height: 35px;/*Interlineado*/
	}
}

/*RD(250px)*/
@media screen and (max-width: 292px){
	/*Sección | Cotizasión*/
	.title-faq{
	  font-size: 25px;/*Tamaño de fuente*/
	  line-height: 30px;/*Interlineado*/
	}
}

/*RD(209px)*/
@media screen and (max-width: 209px){
	/*Sección | Cotizasión*/
	.title-faq{
	  font-size: 22px;/*Tamaño de fuente*/
	  line-height: 25px;/*Interlineado*/
	}
}
  
  
  
/*=====  End of Section comment block  ======*/
