/* Barra principal */
.pma-tabs {
	display: flex;
	align-items: center;
	gap: 28px;
	width: 100%;
	background: #f6f6f7;
	padding: 10px 16px;
	border-radius: 12px;
}

.pma-tabs *,
.pma-tabs *::before,
.pma-tabs *::after {
	box-sizing: border-box;
}
.pma-tabs-wrapper {
	width: var(--pma-max-width);
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
}

/* Logo */
.pma-tabs-logo {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}
.pma-tabs-logo img {
	height: 68px;
	width: auto;
	display: block;
}

/* Lista de tabs */
.pma-tabs-list {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 40px;
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Item de tab */
.pma-tab-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	text-decoration: none !important;
	color: var(--pma-negro) !important;
	font-family: var(--pma-font-secundaria);
	font-size: 14px;
	padding: 8px 12px;
	border-radius: 8px;
	transition: all 0.3s ease;
	position: relative;
}

.pma-tab-item:hover {
	color: var(--pma-amarillo-acento);
	transform: translateY(-2px);
}

/* Icono + texto */
.pma-tab-icon {
	display: inline-block;
	font-size: 22px;
	line-height: 1;
	transition: color 0.3s ease, transform 0.3s ease;
	color: var(--pma-negro);
}

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

img.pma-tab-icon {
	height: 22px; /* si algún día se usa imagen */
	width: 22px;
}

.pma-tab-label {
	white-space: nowrap;
}

/* Línea inferior */
.pma-tab-underline {
	margin-top: 6px;
	width: 100%;
	height: 2px;
	background: #d9d9df;
	border-radius: 2px;
	transition: background 0.3s ease, height 0.3s ease;
}

.pma-tab-item:hover .pma-tab-underline {
	background: var(--pma-amarillo-acento);
	height: 3px;
}

.pma-tab-item.is-active .pma-tab-underline {
	background: var(--pma-azul-principal);
	height: 3px;
}

/* Responsive */
@media (max-width: 1024px) {
	.pma-tabs-wrapper {
		gap: 32px;
	}
	.pma-tabs-list {
		grid-template-columns: repeat(4, 1fr);
		gap: 28px;
	}
}

@media (max-width: 768px) {
	.pma-tabs {
		flex-direction: column;
		gap: 16px;
	}
	.pma-tabs-wrapper {
		flex-direction: column;
		gap: 24px;
	}
	.pma-tabs-list {
		grid-template-columns: repeat(2, 1fr);
		gap: 16px;
	}
}

@media (max-width: 480px) {
	.pma-tabs-list {
		grid-template-columns: 1fr;
	}
}
