/* =========================================================
   Carles Quintana — Veu · main.css
   Disseny "estudi de ràdio": fosc, càlid, tipografia gran.
   ========================================================= */

:root {
	--cq-bg: #0b0d13;
	--cq-bg-raised: #12151f;
	--cq-bg-card: #161a26;
	--cq-border: rgba(255, 255, 255, 0.09);
	--cq-border-strong: rgba(255, 255, 255, 0.16);
	--cq-text: #eef0f6;
	--cq-text-muted: #a8b0c2;
	--cq-accent: #f4b63f;      /* àmbar "llum d'estudi" */
	--cq-accent-2: #ff7a59;    /* coral càlid */
	--cq-accent-ink: #191308;
	--cq-onair: #ff5252;
	--cq-radius: 18px;
	--cq-radius-sm: 12px;
	--cq-font-display: "Sora", "Avenir Next", "Segoe UI", sans-serif;
	--cq-font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
	--cq-container: 1160px;
	--cq-section-pad: clamp(4.5rem, 10vw, 7.5rem);
}

/* ------------------------------------------------- Reset curt */
*, *::before, *::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 5.5rem;
}

body {
	margin: 0;
	background: var(--cq-bg);
	color: var(--cq-text);
	font-family: var(--cq-font-body);
	font-size: 1.0625rem;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--cq-accent); text-underline-offset: 3px; }
a:hover { color: #ffd27a; }

h1, h2, h3, h4 {
	font-family: var(--cq-font-display);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.02em;
	margin: 0 0 0.6em;
	color: var(--cq-text);
	text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.25rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1.2em; }

:focus-visible {
	outline: 2px solid var(--cq-accent);
	outline-offset: 3px;
	border-radius: 4px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	border: 0;
	white-space: nowrap;
}

.cq-skip-link {
	position: absolute;
	left: 1rem; top: -4rem;
	z-index: 100;
	background: var(--cq-accent);
	color: var(--cq-accent-ink);
	padding: 0.7rem 1.2rem;
	border-radius: 0 0 10px 10px;
	font-weight: 600;
	text-decoration: none;
	transition: top 0.2s ease;
}
.cq-skip-link:focus { top: 0; color: var(--cq-accent-ink); }

.cq-container {
	max-width: var(--cq-container);
	margin-inline: auto;
	padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}
.cq-container--narrow { max-width: 820px; }

.cq-icon { width: 1.35em; height: 1.35em; flex: none; }

/* ------------------------------------------------- Capçalera */
.cq-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: color-mix(in srgb, var(--cq-bg) 82%, transparent);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--cq-border);
}

.cq-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	min-height: 4.5rem;
}

.cq-brand {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	text-decoration: none;
	color: var(--cq-text);
	font-family: var(--cq-font-display);
	font-weight: 700;
	font-size: 1.15rem;
	letter-spacing: -0.01em;
}
.cq-brand:hover { color: var(--cq-text); }

.cq-brand__dot {
	width: 0.65rem; height: 0.65rem;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 35%, #ffd27a, var(--cq-accent) 60%);
	box-shadow: 0 0 12px color-mix(in srgb, var(--cq-accent) 70%, transparent);
}

.cq-nav { display: flex; align-items: center; gap: 1.75rem; }

.cq-nav__list {
	display: flex;
	align-items: center;
	gap: 1.6rem;
	list-style: none;
	margin: 0; padding: 0;
}

.cq-nav__list a {
	color: var(--cq-text-muted);
	text-decoration: none;
	font-size: 0.97rem;
	font-weight: 500;
	transition: color 0.15s ease;
}
.cq-nav__list a:hover,
.cq-nav__list .current-menu-item > a { color: var(--cq-text); }

.cq-nav-toggle {
	display: none;
	position: relative;
	width: 2.75rem; height: 2.75rem;
	background: none;
	border: 1px solid var(--cq-border-strong);
	border-radius: 10px;
	cursor: pointer;
}

.cq-nav-toggle__bar,
.cq-nav-toggle__bar::before,
.cq-nav-toggle__bar::after {
	content: "";
	position: absolute;
	left: 50%; top: 50%;
	width: 1.15rem; height: 2px;
	background: var(--cq-text);
	border-radius: 2px;
	transform: translate(-50%, -50%);
	transition: transform 0.2s ease, opacity 0.2s ease;
}
.cq-nav-toggle__bar::before { transform: translate(-50%, calc(-50% - 6px)); }
.cq-nav-toggle__bar::after  { transform: translate(-50%, calc(-50% + 6px)); }

.cq-nav-toggle[aria-expanded="true"] .cq-nav-toggle__bar { background: transparent; }
.cq-nav-toggle[aria-expanded="true"] .cq-nav-toggle__bar::before { transform: translate(-50%, -50%) rotate(45deg); }
.cq-nav-toggle[aria-expanded="true"] .cq-nav-toggle__bar::after  { transform: translate(-50%, -50%) rotate(-45deg); }

/* ------------------------------------------------- Botons */
.cq-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.85rem 1.6rem;
	border-radius: 999px;
	font-family: var(--cq-font-display);
	font-weight: 600;
	font-size: 1rem;
	text-decoration: none;
	cursor: pointer;
	border: 1px solid transparent;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.cq-btn:hover { transform: translateY(-2px); }
.cq-btn:active { transform: translateY(0); }

.cq-btn--primary {
	background: linear-gradient(135deg, #ffd27a, var(--cq-accent) 55%, var(--cq-accent-2));
	color: var(--cq-accent-ink);
	box-shadow: 0 8px 28px -10px color-mix(in srgb, var(--cq-accent) 65%, transparent);
}
.cq-btn--primary:hover {
	color: var(--cq-accent-ink);
	box-shadow: 0 12px 34px -10px color-mix(in srgb, var(--cq-accent) 80%, transparent);
}

.cq-btn--ghost {
	border-color: var(--cq-border-strong);
	color: var(--cq-text);
}
.cq-btn--ghost:hover { border-color: var(--cq-accent); color: var(--cq-text); }

.cq-nav__cta { padding: 0.55rem 1.2rem; font-size: 0.92rem; }

/* ------------------------------------------------- Hero */
.cq-hero {
	position: relative;
	overflow: hidden;
	padding-block: clamp(4.5rem, 11vw, 8.5rem) var(--cq-section-pad);
}

.cq-hero__glow {
	position: absolute;
	inset: -20% -10% auto;
	height: 120%;
	background:
		radial-gradient(42% 55% at 72% 18%, color-mix(in srgb, var(--cq-accent) 16%, transparent), transparent 70%),
		radial-gradient(35% 45% at 12% 80%, color-mix(in srgb, var(--cq-accent-2) 10%, transparent), transparent 70%);
	pointer-events: none;
}

.cq-hero__grid {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	align-items: center;
	gap: clamp(2.5rem, 6vw, 5rem);
}

.cq-hero__copy h1 em {
	font-style: normal;
	background: linear-gradient(120deg, #ffd27a, var(--cq-accent) 50%, var(--cq-accent-2));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.cq-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.45rem 1rem;
	border: 1px solid var(--cq-border-strong);
	border-radius: 999px;
	font-size: 0.85rem;
	font-weight: 500;
	letter-spacing: 0.04em;
	color: var(--cq-text-muted);
	margin: 0 0 1.6rem;
	background: color-mix(in srgb, var(--cq-bg-card) 70%, transparent);
}

.cq-chip__dot {
	width: 0.5rem; height: 0.5rem;
	border-radius: 50%;
	background: var(--cq-onair);
	box-shadow: 0 0 10px var(--cq-onair);
	animation: cq-pulse 2.2s ease-in-out infinite;
}

@keyframes cq-pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.35; }
}

.cq-hero__lead {
	font-size: clamp(1.1rem, 2vw, 1.25rem);
	color: var(--cq-text-muted);
	max-width: 36rem;
	margin-bottom: 2.2rem;
}

.cq-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-bottom: 3rem;
}

.cq-stats {
	display: flex;
	flex-wrap: wrap;
	gap: clamp(1.5rem, 4vw, 3rem);
	margin: 0;
	padding-top: 1.75rem;
	border-top: 1px solid var(--cq-border);
}

.cq-stats dt {
	font-family: var(--cq-font-display);
	font-weight: 800;
	font-size: 1.8rem;
	color: var(--cq-accent);
	line-height: 1.1;
}

.cq-stats dd {
	margin: 0.15rem 0 0;
	font-size: 0.9rem;
	color: var(--cq-text-muted);
	max-width: 11rem;
}

/* Targeta "estudi" del hero */
.cq-studio-card {
	background: linear-gradient(160deg, var(--cq-bg-card), #0e1119 70%);
	border: 1px solid var(--cq-border-strong);
	border-radius: calc(var(--cq-radius) + 6px);
	padding: 1.75rem;
	box-shadow:
		0 30px 60px -30px rgba(0, 0, 0, 0.8),
		inset 0 1px 0 rgba(255, 255, 255, 0.06);
	transform: rotate(1.5deg);
}

.cq-studio-card__top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1.5rem;
}

.cq-onair {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--cq-font-display);
	font-weight: 700;
	font-size: 0.8rem;
	letter-spacing: 0.14em;
	color: var(--cq-onair);
	border: 1px solid color-mix(in srgb, var(--cq-onair) 45%, transparent);
	border-radius: 8px;
	padding: 0.4rem 0.75rem;
	background: color-mix(in srgb, var(--cq-onair) 10%, transparent);
}

.cq-onair__dot {
	width: 0.5rem; height: 0.5rem;
	border-radius: 50%;
	background: var(--cq-onair);
	box-shadow: 0 0 8px var(--cq-onair);
	animation: cq-pulse 1.4s ease-in-out infinite;
}

.cq-studio-card__freq {
	font-size: 0.85rem;
	letter-spacing: 0.1em;
	color: var(--cq-text-muted);
	font-weight: 500;
}

.cq-studio-card__bottom {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	margin-top: 1.5rem;
	color: var(--cq-text-muted);
	font-size: 0.92rem;
}
.cq-studio-card__bottom .cq-icon { color: var(--cq-accent); }

/* ------------------------------------------------- Ona (waveform) */
.cq-wave {
	display: flex;
	align-items: center;
	gap: 3px;
	height: 72px;
}

.cq-wave span {
	flex: 1;
	min-width: 2px;
	height: calc(var(--h, 0.4) * 100%);
	border-radius: 99px;
	background: color-mix(in srgb, var(--cq-text-muted) 45%, transparent);
	transition: height 0.25s ease, background 0.25s ease;
}

.cq-wave--idle span { background: linear-gradient(180deg, var(--cq-accent), var(--cq-accent-2)); opacity: 0.85; }

.cq-wave--idle.is-animated span {
	animation: cq-eq 1.6s ease-in-out infinite;
	animation-delay: calc(var(--i) * 0.07s);
}

@keyframes cq-eq {
	0%, 100% { transform: scaleY(0.55); }
	50% { transform: scaleY(1); }
}

.cq-wave--player { height: 44px; flex: 1; cursor: pointer; }
.cq-wave--player span.is-played { background: linear-gradient(180deg, #ffd27a, var(--cq-accent)); }

/* ------------------------------------------------- Seccions */
.cq-section { padding-block: var(--cq-section-pad); }

.cq-section--alt {
	background: var(--cq-bg-raised);
	border-block: 1px solid var(--cq-border);
}

.cq-section__kicker {
	font-family: var(--cq-font-display);
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--cq-accent);
	margin-bottom: 1rem;
}

.cq-section__intro {
	color: var(--cq-text-muted);
	max-width: 40rem;
	margin-bottom: 3rem;
	font-size: 1.1rem;
}

/* ------------------------------------------------- Serveis */
.cq-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1.25rem;
	margin-top: 2.5rem;
}

.cq-card {
	background: var(--cq-bg-card);
	border: 1px solid var(--cq-border);
	border-radius: var(--cq-radius);
	padding: 1.9rem 1.7rem;
	transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.cq-card:hover {
	transform: translateY(-5px);
	border-color: color-mix(in srgb, var(--cq-accent) 55%, var(--cq-border));
	box-shadow: 0 20px 40px -24px rgba(0, 0, 0, 0.9);
}

.cq-card .cq-icon {
	width: 2.1rem; height: 2.1rem;
	color: var(--cq-accent);
	margin-bottom: 1.1rem;
}

.cq-card h3 { margin-bottom: 0.5rem; }
.cq-card p { color: var(--cq-text-muted); font-size: 0.97rem; margin: 0; }

/* ------------------------------------------------- Reproductors de demos */
.cq-players {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
	gap: 1.25rem;
}

.cq-player {
	display: flex;
	gap: 1.25rem;
	align-items: flex-start;
	background: var(--cq-bg-card);
	border: 1px solid var(--cq-border);
	border-radius: var(--cq-radius);
	padding: 1.5rem;
	transition: border-color 0.2s ease;
}

.cq-player.is-playing { border-color: color-mix(in srgb, var(--cq-accent) 60%, var(--cq-border)); }

.cq-player__btn {
	flex: none;
	width: 3.4rem; height: 3.4rem;
	border-radius: 50%;
	border: none;
	cursor: pointer;
	display: grid;
	place-items: center;
	background: linear-gradient(135deg, #ffd27a, var(--cq-accent) 55%, var(--cq-accent-2));
	color: var(--cq-accent-ink);
	box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--cq-accent) 70%, transparent);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.cq-player__btn:hover { transform: scale(1.06); }
.cq-player__btn .cq-icon { width: 1.4rem; height: 1.4rem; }
.cq-player__btn .cq-icon--pause { display: none; }
.cq-player.is-playing .cq-icon--play { display: none; }
.cq-player.is-playing .cq-icon--pause { display: block; }

.cq-player__body { flex: 1; min-width: 0; }
.cq-player__title { font-size: 1.05rem; margin-bottom: 0.25rem; }
.cq-player__desc { color: var(--cq-text-muted); font-size: 0.88rem; margin-bottom: 0.9rem; }

.cq-player__row { display: flex; align-items: center; gap: 1rem; }

.cq-player__time {
	font-family: var(--cq-font-display);
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--cq-text-muted);
	font-variant-numeric: tabular-nums;
	min-width: 3.2em;
	text-align: right;
}

/* ------------------------------------------------- Vídeo */
.cq-video {
	position: relative;
	aspect-ratio: 16 / 9;
	border-radius: var(--cq-radius);
	overflow: hidden;
	border: 1px solid var(--cq-border-strong);
	background: #000;
	max-width: 880px;
}

.cq-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.cq-video__poster {
	position: absolute;
	inset: 0;
	width: 100%;
	border: none;
	padding: 0;
	cursor: pointer;
	background: #000;
}

.cq-video__poster img {
	width: 100%; height: 100%;
	object-fit: cover;
	opacity: 0.75;
	transition: opacity 0.2s ease, transform 0.3s ease;
}

.cq-video__poster:hover img { opacity: 0.9; transform: scale(1.02); }

.cq-video__play {
	position: absolute;
	left: 50%; top: 50%;
	transform: translate(-50%, -50%);
	width: 4.5rem; height: 4.5rem;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: linear-gradient(135deg, #ffd27a, var(--cq-accent) 55%, var(--cq-accent-2));
	color: var(--cq-accent-ink);
	box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.8);
	transition: transform 0.15s ease;
}
.cq-video__poster:hover .cq-video__play { transform: translate(-50%, -50%) scale(1.08); }
.cq-video__play .cq-icon { width: 1.8rem; height: 1.8rem; }

/* ------------------------------------------------- Trajectòria */
.cq-timeline {
	list-style: none;
	margin: 2.5rem 0 0;
	padding: 0;
	position: relative;
	max-width: 760px;
}

.cq-timeline::before {
	content: "";
	position: absolute;
	left: 0.45rem;
	top: 0.4rem; bottom: 0.4rem;
	width: 2px;
	background: linear-gradient(180deg, var(--cq-accent), color-mix(in srgb, var(--cq-accent-2) 40%, transparent));
}

.cq-timeline li {
	position: relative;
	padding: 0 0 2.75rem 2.6rem;
}
.cq-timeline li:last-child { padding-bottom: 0; }

.cq-timeline li::before {
	content: "";
	position: absolute;
	left: 0; top: 0.4rem;
	width: 1rem; height: 1rem;
	border-radius: 50%;
	background: var(--cq-bg);
	border: 3px solid var(--cq-accent);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--cq-accent) 18%, transparent);
}

.cq-timeline__period {
	display: inline-block;
	font-family: var(--cq-font-display);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--cq-accent);
	margin-bottom: 0.4rem;
}

.cq-timeline h3 { margin-bottom: 0.4rem; }
.cq-timeline p { color: var(--cq-text-muted); margin: 0; font-size: 0.98rem; }

/* ------------------------------------------------- Projectes en marxa */
.cq-projects__title {
	margin: 3.5rem 0 1.2rem;
	font-size: 1.05rem;
	color: var(--cq-text-muted);
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-weight: 600;
}

.cq-projects {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	list-style: none;
	margin: 0;
	padding: 0;
	max-width: 760px;
}

.cq-projects a {
	display: inline-block;
	padding: 0.5rem 1.05rem;
	border: 1px solid var(--cq-border-strong);
	border-radius: 999px;
	background: var(--cq-bg-card);
	color: var(--cq-text-muted);
	text-decoration: none;
	font-size: 0.92rem;
	font-weight: 500;
	transition: color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.cq-projects a:hover {
	color: var(--cq-accent);
	border-color: var(--cq-accent);
	transform: translateY(-2px);
}

/* ------------------------------------------------- Galeria */
.cq-gallery {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0.9rem;
	margin-top: 2.5rem;
}

.cq-gallery__item {
	margin: 0;
	border-radius: var(--cq-radius-sm);
	overflow: hidden;
	border: 1px solid var(--cq-border);
	aspect-ratio: 4 / 3;
}

.cq-gallery__item:nth-child(5n + 1) { grid-row: span 2; aspect-ratio: auto; }

.cq-gallery__item img {
	width: 100%; height: 100%;
	object-fit: cover;
	filter: saturate(0.55) contrast(1.02);
	transition: filter 0.3s ease, transform 0.4s ease;
}

.cq-gallery__item:hover img { filter: saturate(1); transform: scale(1.04); }

/* ------------------------------------------------- Contacte */
.cq-section--contact {
	background:
		radial-gradient(50% 70% at 85% 20%, color-mix(in srgb, var(--cq-accent) 10%, transparent), transparent 70%),
		var(--cq-bg-raised);
	border-top: 1px solid var(--cq-border);
}

.cq-contact {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(2.5rem, 6vw, 5rem);
	align-items: center;
}

.cq-contact__copy p { color: var(--cq-text-muted); font-size: 1.1rem; max-width: 30rem; }

.cq-contact__cards { display: grid; gap: 1rem; }

.cq-contact__card {
	display: grid;
	grid-template-columns: auto 1fr;
	grid-template-rows: auto auto;
	column-gap: 1.1rem;
	align-items: center;
	background: var(--cq-bg-card);
	border: 1px solid var(--cq-border);
	border-radius: var(--cq-radius);
	padding: 1.3rem 1.5rem;
	text-decoration: none;
	color: var(--cq-text);
	transition: transform 0.18s ease, border-color 0.18s ease;
}

a.cq-contact__card:hover {
	transform: translateX(6px);
	border-color: color-mix(in srgb, var(--cq-accent) 55%, var(--cq-border));
	color: var(--cq-text);
}

.cq-contact__card .cq-icon {
	grid-row: span 2;
	width: 1.8rem; height: 1.8rem;
	color: var(--cq-accent);
}

.cq-contact__label {
	font-size: 0.8rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--cq-text-muted);
	font-weight: 600;
}

.cq-contact__value {
	font-family: var(--cq-font-display);
	font-weight: 600;
	font-size: 1.1rem;
}

/* ------------------------------------------------- Peu */
.cq-footer {
	border-top: 1px solid var(--cq-border);
	padding-block: 2.5rem;
	background: var(--cq-bg);
}

.cq-footer__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
}

.cq-footer__brand {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	font-family: var(--cq-font-display);
	font-weight: 700;
}

.cq-footer__meta { margin: 0; color: var(--cq-text-muted); font-size: 0.9rem; }

.cq-social {
	display: flex;
	gap: 0.6rem;
	list-style: none;
	margin: 0; padding: 0;
}

.cq-social a {
	display: grid;
	place-items: center;
	width: 2.6rem; height: 2.6rem;
	border: 1px solid var(--cq-border-strong);
	border-radius: 50%;
	color: var(--cq-text-muted);
	transition: color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.cq-social a:hover {
	color: var(--cq-accent);
	border-color: var(--cq-accent);
	transform: translateY(-3px);
}

.cq-social .cq-icon { width: 1.15rem; height: 1.15rem; }

/* ------------------------------------------------- Pàgines interiors */
.cq-main--inner { padding-block: clamp(3rem, 7vw, 5rem) var(--cq-section-pad); }

.cq-entry__header { margin-bottom: 2.5rem; }

.cq-entry__content {
	color: var(--cq-text-muted);
	font-size: 1.05rem;
}

.cq-entry__content h2, .cq-entry__content h3 { margin-top: 2em; }
.cq-entry__content img { border-radius: var(--cq-radius-sm); }
.cq-entry__content table { border-collapse: collapse; width: 100%; }
.cq-entry__content td, .cq-entry__content th {
	border: 1px solid var(--cq-border);
	padding: 0.6rem 0.9rem;
}

.cq-entry__content .gallery,
.cq-entry__content .wp-block-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 0.8rem;
}
.cq-entry__content .gallery br { display: none; }
.cq-entry__content .gallery-item { margin: 0; }
.cq-entry__content .gallery-item img {
	width: 100%; height: 100%;
	object-fit: cover;
	border: none;
}

.cq-entry--list { margin-bottom: 2.5rem; }
.cq-entry__list-title a { color: var(--cq-text); text-decoration: none; }
.cq-entry__list-title a:hover { color: var(--cq-accent); }

.cq-404 { text-align: center; padding-block: 4rem; }
.cq-404 h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
.cq-404 p { color: var(--cq-text-muted); }

/* ------------------------------------------------- Aparicions en scroll */
.cq-reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.cq-reveal.is-visible { opacity: 1; transform: none; }

/* Sense JS o amb motion reduït: tot visible */
.no-js .cq-reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.cq-reveal { opacity: 1; transform: none; transition: none; }
	.cq-chip__dot, .cq-onair__dot, .cq-wave--idle.is-animated span { animation: none; }
	.cq-btn:hover, .cq-card:hover, .cq-social a:hover, a.cq-contact__card:hover { transform: none; }
}

/* ------------------------------------------------- Responsive */
@media (max-width: 1020px) {
	.cq-hero__grid { grid-template-columns: 1fr; }
	.cq-hero__visual { max-width: 480px; }
	.cq-gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 820px) {
	.cq-contact { grid-template-columns: 1fr; }

	.cq-nav-toggle { display: block; }

	.cq-nav {
		position: absolute;
		top: 100%; left: 0; right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		background: var(--cq-bg-raised);
		border-bottom: 1px solid var(--cq-border);
		padding: 1rem clamp(1.25rem, 4vw, 2.5rem) 1.5rem;
		display: none;
	}

	.cq-nav.is-open { display: flex; }

	.cq-nav__list { flex-direction: column; align-items: stretch; gap: 0; }

	.cq-nav__list a {
		display: block;
		padding: 0.85rem 0.25rem;
		font-size: 1.05rem;
		border-bottom: 1px solid var(--cq-border);
	}

	.cq-nav__cta { margin-top: 1.25rem; justify-content: center; }
}

@media (max-width: 640px) {
	.cq-gallery { grid-template-columns: repeat(2, 1fr); }
	.cq-player { flex-direction: row; }
	.cq-stats { gap: 1.5rem; }
	.cq-studio-card { transform: none; }
}
