:root {
	color-scheme: light dark;
	--cream: #f3efe6;
	--paper: #fbf9f4;
	--ink: #10241f;
	--green: #06382d;
	--green-light: #185b48;
	--red: #e83b3f;
	--lime: #bdd94b;
	--line: rgba(16, 36, 31, 0.18);
	--muted: #62716c;
	--page-padding: clamp(1.25rem, 5vw, 5rem);
	--radius: 1.25rem;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--cream);
	color: var(--ink);
	font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

button,
input {
	font: inherit;
}

a {
	color: inherit;
}

.skip-link {
	position: fixed;
	top: 0.75rem;
	left: 0.75rem;
	z-index: 20;
	padding: 0.7rem 1rem;
	background: var(--paper);
	border-radius: 0.5rem;
	transform: translateY(-160%);
}

.skip-link:focus {
	transform: translateY(0);
}

.site-header,
main,
footer {
	width: min(100%, 92rem);
	margin-inline: auto;
}

.site-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	padding: 1.5rem var(--page-padding);
	border-bottom: 1px solid var(--line);
}

.brand {
	display: inline-flex;
	align-items: center;
}

.brand picture {
	display: inline-flex;
}

.brand img {
	width: clamp(10rem, 20vw, 15.25rem);
	height: auto;
}

.station-id {
	display: flex;
	align-items: center;
	gap: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.station-id strong {
	padding: 0.45rem 0.7rem;
	border: 1px solid currentColor;
	border-radius: 999px;
	font-size: 0.76rem;
}

.station-id span {
	font-size: 0.72rem;
	font-weight: 650;
}

main {
	padding: 0 var(--page-padding) 4rem;
}

.hero {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(14rem, 0.5fr);
	align-items: center;
	min-height: clamp(24rem, 48vh, 32rem);
	overflow: hidden;
	border-bottom: 1px solid var(--line);
}

.hero-copy {
	position: relative;
	z-index: 2;
	padding: clamp(3rem, 6vw, 5rem) 0;
}

.eyebrow {
	margin: 0 0 0.85rem;
	color: var(--red);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

h1,
h2,
p {
	text-wrap: pretty;
}

h1 {
	max-width: 18ch;
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(2.65rem, 5.4vw, 5.4rem);
	font-weight: 400;
	letter-spacing: -0.055em;
	line-height: 0.96;
}

h1 strong {
	color: var(--green);
	font-weight: 700;
}

.no-break {
	white-space: nowrap;
}

.broadcast-mark {
	position: absolute;
	right: clamp(-9rem, -5vw, -3rem);
	width: clamp(18rem, 34vw, 32rem);
	aspect-ratio: 1;
}

.broadcast-mark span {
	position: absolute;
	inset: 50%;
	border: clamp(1rem, 2.2vw, 2rem) solid rgba(6, 56, 45, 0.08);
	border-left-color: transparent;
	border-bottom-color: transparent;
	border-radius: 50%;
	transform: translate(-50%, -50%) rotate(45deg);
}

.broadcast-mark span:nth-child(1) {
	width: 38%;
	height: 38%;
}

.broadcast-mark span:nth-child(2) {
	width: 66%;
	height: 66%;
}

.broadcast-mark span:nth-child(3) {
	width: 94%;
	height: 94%;
}

.broadcast-mark i {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 1.25rem;
	aspect-ratio: 1;
	background: var(--red);
	border-radius: 50%;
	transform: translate(-50%, -50%);
}

.contact-actions {
	position: relative;
	z-index: 4;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin: -1.45rem 0 1.25rem;
}

.contact-button {
	display: grid;
	grid-template-columns: auto auto auto;
	align-items: center;
	gap: 0.65rem;
	min-height: 3.15rem;
	padding: 0.75rem 1rem;
	border-radius: 0.7rem;
	box-shadow: 0 0.65rem 1.75rem rgba(6, 56, 45, 0.13);
	color: white;
	text-decoration: none;
	transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.contact-button-email {
	background: var(--green);
}

.contact-button-email:hover {
	background: var(--green-light);
}

.contact-button-whatsapp {
	background: var(--red);
}

.contact-button-whatsapp:hover {
	background: #f14c50;
}

.contact-button:hover {
	box-shadow: 0 0.85rem 2rem rgba(6, 56, 45, 0.18);
	transform: translateY(-2px);
}

.contact-button strong {
	font-size: 0.8rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.contact-button span {
	color: rgba(255, 255, 255, 0.75);
	font-size: 0.75rem;
}

.contact-button i {
	font-size: 0.8rem;
	font-style: normal;
}

.player-card {
	position: relative;
	z-index: 3;
	margin-top: 0;
	padding: clamp(1.5rem, 4vw, 3rem);
	overflow: hidden;
	background: var(--green);
	border-radius: var(--radius);
	box-shadow: 0 1.25rem 3.5rem rgba(6, 56, 45, 0.16);
	color: white;
}

.player-card::after {
	position: absolute;
	right: -7rem;
	bottom: -9rem;
	width: 22rem;
	aspect-ratio: 1;
	border: 3.5rem solid rgba(255, 255, 255, 0.035);
	border-radius: 50%;
	content: "";
	pointer-events: none;
}

.player-heading,
.player-controls {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
}

.player-heading {
	justify-content: space-between;
	gap: 2rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.live-label {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	margin: 0 0 0.3rem;
	color: var(--lime);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.live-label span {
	width: 0.55rem;
	aspect-ratio: 1;
	background: var(--red);
	border-radius: 50%;
	box-shadow: 0 0 0 0.3rem rgba(232, 59, 63, 0.16);
}

.player-card h2 {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(2rem, 4vw, 3.75rem);
	font-weight: 400;
	letter-spacing: -0.035em;
	line-height: 1;
}

.player-status {
	margin: 0;
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.86rem;
}

.player-controls {
	gap: clamp(1rem, 3vw, 2rem);
	padding-top: 2rem;
}

.play-button {
	display: grid;
	flex: 0 0 auto;
	width: clamp(4.2rem, 7vw, 5.5rem);
	aspect-ratio: 1;
	padding: 0;
	place-items: center;
	background: var(--red);
	border: 0;
	border-radius: 50%;
	color: white;
	cursor: pointer;
	transition: transform 180ms ease, background-color 180ms ease;
}

.play-button:hover {
	background: #f14c50;
	transform: scale(1.04);
}

.play-button:active {
	transform: scale(0.98);
}

.play-icon {
	width: 0;
	height: 0;
	margin-left: 0.3rem;
	border-top: 0.68rem solid transparent;
	border-bottom: 0.68rem solid transparent;
	border-left: 1.05rem solid currentColor;
}

.play-button.is-playing .play-icon {
	width: 1rem;
	height: 1.25rem;
	margin-left: 0;
	border: 0;
	border-right: 0.3rem solid currentColor;
	border-left: 0.3rem solid currentColor;
}

.play-button.is-loading .play-icon {
	width: 1.35rem;
	height: 1.35rem;
	margin: 0;
	border: 0.18rem solid rgba(255, 255, 255, 0.4);
	border-top-color: white;
	border-radius: 50%;
	animation: spin 800ms linear infinite;
}

.signal {
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	gap: clamp(0.28rem, 0.7vw, 0.65rem);
	height: 3.75rem;
	overflow: hidden;
}

.signal span {
	flex: 1;
	max-width: 0.65rem;
	height: 18%;
	background: rgba(255, 255, 255, 0.22);
	border-radius: 99px;
	transform-origin: center;
}

.signal span:nth-child(3n + 1) {
	height: 32%;
}

.signal span:nth-child(4n + 2) {
	height: 52%;
}

.signal span:nth-child(5n + 3) {
	height: 72%;
}

.signal.is-active span {
	background: var(--lime);
	animation: pulse 1.1s ease-in-out infinite alternate;
}

.signal.is-active span:nth-child(2n) {
	animation-delay: -0.35s;
}

.signal.is-active span:nth-child(3n) {
	animation-delay: -0.7s;
}

.volume-control {
	display: grid;
	flex: 0 0 9.5rem;
	gap: 0.45rem;
}

.volume-control span {
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.volume-control input {
	width: 100%;
	accent-color: var(--lime);
	cursor: pointer;
}

.player-help {
	position: relative;
	z-index: 1;
	margin: 1.5rem 0 0;
	color: rgba(255, 255, 255, 0.64);
	font-size: 0.78rem;
}

.player-help a {
	color: white;
	text-underline-offset: 0.2em;
}

.essentials {
	display: grid;
	grid-template-columns: minmax(14rem, 0.7fr) minmax(0, 1.3fr);
	gap: clamp(2rem, 7vw, 7rem);
	padding: clamp(6rem, 11vw, 10rem) 0;
}

.section-heading h2 {
	max-width: 12ch;
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(2.25rem, 4.6vw, 4.7rem);
	font-weight: 400;
	letter-spacing: -0.045em;
	line-height: 1.02;
}

.link-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-content: start;
	border-top: 1px solid var(--line);
}

.feature-link {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 1.25rem;
	min-height: 9rem;
	padding: 1.5rem;
	border-bottom: 1px solid var(--line);
	text-decoration: none;
	transition: background-color 180ms ease, color 180ms ease;
}

.feature-link:nth-child(odd):not(.feature-link-wide) {
	border-right: 1px solid var(--line);
}

.feature-link-wide {
	grid-column: 1 / -1;
}

.feature-link:hover {
	background: var(--paper);
	color: var(--green);
}

.link-index {
	align-self: start;
	color: var(--red);
	font-size: 0.68rem;
	font-weight: 800;
}

.feature-link > span:nth-child(2) {
	display: grid;
	gap: 0.35rem;
}

.feature-link strong {
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.3rem, 2vw, 1.75rem);
	font-weight: 400;
	letter-spacing: -0.025em;
}

.feature-link small {
	color: var(--muted);
	font-size: 0.78rem;
	line-height: 1.45;
}

.feature-link i {
	align-self: start;
	font-style: normal;
}

footer {
	display: flex;
	justify-content: space-between;
	gap: 2rem;
	padding: 2rem var(--page-padding);
	border-top: 1px solid var(--line);
	color: var(--muted);
	font-size: 0.72rem;
	font-weight: 650;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

footer p {
	margin: 0;
}

:focus-visible {
	outline: 3px solid var(--lime);
	outline-offset: 4px;
}

@keyframes spin {
	to {
		transform: rotate(1turn);
	}
}

@keyframes pulse {
	from {
		transform: scaleY(0.55);
	}
	to {
		transform: scaleY(1.35);
	}
}

@media (prefers-color-scheme: dark) {
	:root {
		--cream: #061a16;
		--paper: #0d2a24;
		--ink: #f3efe6;
		--green: #0e4a3d;
		--green-light: #17614f;
		--red: #f05054;
		--lime: #c8df62;
		--line: rgba(243, 239, 230, 0.16);
		--muted: #a8b8b2;
	}

	h1 strong {
		color: var(--lime);
	}

	.broadcast-mark span {
		border-color: rgba(200, 223, 98, 0.11);
		border-left-color: transparent;
		border-bottom-color: transparent;
	}

	.contact-button {
		box-shadow: 0 0.65rem 1.75rem rgba(0, 0, 0, 0.28);
	}

	.contact-button:hover {
		box-shadow: 0 0.85rem 2rem rgba(0, 0, 0, 0.38);
	}

	.player-card {
		box-shadow: 0 1.25rem 3.5rem rgba(0, 0, 0, 0.3);
	}

	.feature-link:hover {
		color: var(--ink);
	}
}

@media (max-width: 760px) {
	.station-id span {
		display: none;
	}

	.hero {
		grid-template-columns: 1fr;
		min-height: 27rem;
	}

	.broadcast-mark {
		right: -9rem;
		bottom: -2rem;
		width: 24rem;
	}

	.player-card {
		margin-top: 0;
	}

	.player-heading {
		align-items: flex-start;
		flex-direction: column;
		gap: 0.75rem;
	}

	.signal {
		min-width: 3rem;
	}

	.volume-control {
		flex-basis: 6.5rem;
	}

	.essentials {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 520px) {
	.site-header {
		padding-block: 1rem;
	}

	.brand img {
		width: 8.75rem;
	}

	h1 {
		font-size: clamp(2rem, 9.7vw, 3.65rem);
	}

	.contact-actions {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		margin-top: -1.2rem;
	}

	.contact-button {
		display: flex;
		justify-content: center;
		padding-inline: 0.8rem;
	}

	.contact-button span {
		display: none;
	}

	.player-controls {
		flex-wrap: wrap;
	}

	.signal {
		order: 3;
		flex-basis: 100%;
	}

	.volume-control {
		flex: 1;
	}

	.link-grid {
		grid-template-columns: 1fr;
	}

	.feature-link,
	.feature-link:nth-child(odd):not(.feature-link-wide) {
		grid-column: auto;
		border-right: 0;
	}

	footer {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}
