/* ===== ESTILOS DEL COMPONENTE ===== */
.pma-homeContext {
	box-sizing: border-box;
	width: var(--pma-max-width);
	margin: 0 auto;
	padding: 40px 24px;
	font-family: var(--pma-font-principal);
	background: var(--pma-blanco);
}

/* Reset y box-sizing para todos los elementos dentro del componente */
.pma-homeContext *,
.pma-homeContext *::before,
.pma-homeContext *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

/* Título principal */
.pma-title {
	font-size: 48px;
	font-weight: bold;
	color: var(--pma-azul-principal);
	text-align: center;
	margin-bottom: 32px;
	font-family: var(--pma-font-principal);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
}

.pma-title::before {
	content: "";
	width: 20px;
	height: 20px;
	background: var(--pma-amarillo-acento);
	border-radius: 50%;
	flex-shrink: 0;
}

/* Párrafo descriptivo */
.pma-description {
	font-size: 18px;
	color: var(--pma-negro);
	line-height: 1.6;
	text-align: center;
	max-width: 900px;
	margin: 0 auto 64px auto;
	font-family: var(--pma-font-secundaria);
}

/* Contenedor de las cajas */
.pma-boxes-container {
	display: flex;
	justify-content: center;
	gap: 32px;
	flex-wrap: wrap;
}

/* Cajas individuales */
.pma-box {
	width: 280px;
	height: 200px;
	border: 2px solid var(--pma-azul-principal);
	border-radius: 16px;
	background: var(--pma-blanco);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 24px;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	cursor: pointer;
	position: relative;
	overflow: hidden;
	text-decoration: none;
}

.pma-box::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: var(--pma-amarillo-acento);
	opacity: 0;
	transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	z-index: 1;
}

.pma-box:hover {
	transform: translateY(-6px) scale(1.02);
	border-color: var(--pma-amarillo-acento);
	box-shadow: 0 12px 24px rgba(238, 185, 27, 0.2);
	text-decoration: none;
}

.pma-box:hover::before {
	opacity: 0.1;
}

.pma-box > * {
	position: relative;
	z-index: 2;
	transition: color 0.3s ease;
}

.pma-box:hover .pma-box-text {
	color: var(--pma-azul-principal);
}

/* Iconos */
.pma-icon {
	width: 56px;
	height: 56px;
	margin-bottom: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.pma-icon i {
	font-size: 48px;
	color: var(--pma-azul-principal);
	transition: all 0.3s ease;
}

.pma-box:hover .pma-icon i {
	color: var(--pma-amarillo-acento);
	transform: scale(1.1);
}

/* Texto de las cajas */
.pma-box-text {
	font-size: 18px;
	font-weight: 600;
	color: var(--pma-azul-principal);
	text-align: center;
	font-family: var(--pma-font-principal);
}

/* ===== RESPONSIVE DESIGN ===== */
/* Tablet */
@media (max-width: 1024px) {
	.pma-section {
		padding: 32px 20px;
	}

	.pma-title {
		font-size: 40px;
	}

	.pma-description {
		font-size: 16px;
		margin-bottom: 48px;
	}

	.pma-box {
		width: 240px;
		height: 180px;
	}

	.pma-box-text {
		font-size: 16px;
	}
}

/* Móvil */
@media (max-width: 768px) {
	.pma-homeContext {
		padding: 24px 16px;
	}

	.pma-title {
		font-size: 32px;
		margin-bottom: 24px;
	}

	.pma-description {
		font-size: 16px;
		margin-bottom: 40px;
	}

	.pma-boxes-container {
		gap: 16px;
	}

	.pma-box {
		width: 100%;
		max-width: 300px;
		height: 160px;
	}

	.pma-box-text {
		font-size: 16px;
	}
}

/* Móvil pequeño */
@media (max-width: 480px) {
	.pma-homeContext {
		padding: 20px 16px;
	}

	.pma-title {
		font-size: 28px;
		margin-bottom: 20px;
	}

	.pma-description {
		font-size: 14px;
		margin-bottom: 32px;
	}

	.pma-box {
		height: 140px;
		padding: 16px;
	}

	.pma-icon {
		width: 48px;
		height: 48px;
		margin-bottom: 12px;
	}

	.pma-box-text {
		font-size: 14px;
	}
}
