/* Section pages — Dev & Música */

body.page-dev,
body.page-musica {
	overflow-x: hidden;
}

body.page-dev {
	background: #0a0a0a;
	color: #fff;
}

body.page-musica {
	background: #fff;
	color: #000;
}

body.page-dev .wp-site-blocks,
body.page-musica .wp-site-blocks {
	padding: 0;
}

.section-page {
	min-height: 100svh;
	margin: 0;
	padding: 0;
	font-family: var(--wp--preset--font-family--space-grotesk, 'Space Grotesk', sans-serif);
	position: relative;
}

body.admin-bar .section-page {
	min-height: calc(100svh - 32px);
}

@media screen and (max-width: 782px) {
	body.admin-bar .section-page {
		min-height: calc(100svh - 46px);
	}
}

.section-shell {
	min-height: inherit;
	display: flex;
	flex-direction: column;
	position: relative;
}

/* Nav — siempre visible, igual que home móvil */
.section-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 18px;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0.55) 0%, transparent 100%);
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 30;
}

.section-header__logo {
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.5);
}

.section-header__nav {
	display: flex;
	gap: 4px;
}

.section-header .hpill {
	font-size: 9px;
	letter-spacing: 2px;
	text-transform: uppercase;
	padding: 5px 14px;
	border-radius: 20px;
	border: 0.5px solid rgba(255, 255, 255, 0.12);
	color: rgba(255, 255, 255, 0.3);
	background: transparent;
	text-decoration: none;
	transition: all 0.2s;
}

.section-header .hpill:hover {
	border-color: rgba(255, 255, 255, 0.35);
	color: rgba(255, 255, 255, 0.8);
}

.section-header .hpill.is-active {
	border-color: rgba(255, 255, 255, 0.3);
	color: rgba(255, 255, 255, 0.75);
	background: rgba(255, 255, 255, 0.07);
}

.section-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: clamp(72px, 12vh, 96px) clamp(24px, 6vw, 40px) clamp(64px, 10vh, 80px);
}

.section-title {
	font-size: clamp(40px, 7vw, 72px);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1;
}

.section-sub {
	font-size: 9px;
	letter-spacing: 5px;
	text-transform: uppercase;
	margin-top: 14px;
}

.section-page--dev .section-sub {
	color: rgba(255, 255, 255, 0.25);
}

.section-page--musica .section-sub {
	color: rgba(0, 0, 0, 0.25);
}

.section-tags {
	display: flex;
	gap: 8px;
	justify-content: center;
	flex-wrap: wrap;
	margin-top: 28px;
}

.section-tag {
	font-size: 8px;
	letter-spacing: 2px;
	text-transform: uppercase;
	padding: 5px 10px;
	border-radius: 2px;
}

.section-page--dev .section-tag {
	border: 0.5px solid rgba(255, 255, 255, 0.12);
	color: rgba(255, 255, 255, 0.3);
}

.section-page--musica .section-tag {
	border: 0.5px solid rgba(0, 0, 0, 0.12);
	color: rgba(0, 0, 0, 0.3);
}

.section-placeholder {
	margin-top: 32px;
	width: min(280px, 80vw);
}

.section-ph-row {
	height: 7px;
	border-radius: 2px;
	margin-bottom: 8px;
}

.section-page--dev .section-ph-row {
	background: rgba(255, 255, 255, 0.05);
}

.section-page--musica .section-ph-row {
	background: rgba(0, 0, 0, 0.06);
}

.section-ph-row:nth-child(2) {
	width: 70%;
	margin-left: auto;
	margin-right: auto;
}

.section-ph-row:nth-child(3) {
	width: 85%;
	margin-left: auto;
	margin-right: auto;
}

.section-page--musica .section-ph-row:nth-child(2) {
	width: 60%;
}

.section-page--musica .section-ph-row:nth-child(3) {
	width: 80%;
}

.section-note {
	font-size: 9px;
	letter-spacing: 2px;
	text-transform: uppercase;
	margin-top: 16px;
}

.section-page--dev .section-note {
	color: rgba(255, 255, 255, 0.1);
}

.section-page--musica .section-note {
	color: rgba(0, 0, 0, 0.15);
}

.section-bars {
	display: flex;
	align-items: flex-end;
	gap: 3px;
	justify-content: center;
	margin-top: 32px;
	height: 48px;
}

.section-bar {
	width: 4px;
	border-radius: 2px;
	opacity: 0.1;
}

.section-page--musica .section-bar {
	background: #000;
}

.section-back {
	position: absolute;
	bottom: 24px;
	font-size: 9px;
	letter-spacing: 3px;
	text-transform: uppercase;
	text-decoration: none;
	opacity: 0.25;
	transition: opacity 0.2s;
}

.section-back:hover {
	opacity: 0.6;
}

.section-page--dev .section-back {
	color: #fff;
	right: 24px;
}

.section-page--musica .section-back {
	color: #000;
	left: 24px;
}

@media (max-width: 600px) {
	.section-header {
		padding: 12px 16px;
	}

	.section-header .hpill {
		font-size: 8px;
		padding: 4px 10px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.section-header .hpill,
	.section-back {
		transition: none !important;
	}
}
