/*
Theme Name: Kactus 89
Theme URI: https://kactus89.com/
Author: Kactus 89
Description: Tema responsive para emisora de radio, compatible con Elementor y el Editor de WordPress.
Version: 1.0.0
Requires at least: 6.2
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: kactus89
*/

:root {
	--k89-ink: #1b211b;
	--k89-muted: #687167;
	--k89-paper: #f7f7f2;
	--k89-green: #245d3e;
	--k89-lime: #c9e36b;
	--k89-orange: #ef8c3c;
	--k89-radius: 18px;
	--k89-shadow: 0 18px 50px rgba(22, 42, 27, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	color: var(--k89-ink);
	background: #fff;
	font-family: Inter, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.65;
}
a { color: var(--k89-green); }
a:hover { color: #143d28; }
img { max-width: 100%; height: auto; }
button, input, textarea { font: inherit; }
.k89-container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.k89-site-header { position: relative; z-index: 5; background: #fff; }
.k89-header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.k89-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--k89-ink); font-weight: 850; font-size: 1.25rem; text-decoration: none; }
.k89-brand img { width: auto; max-height: 52px; }
.k89-brand-mark { display: grid; width: 46px; height: 46px; place-items: center; color: var(--k89-ink); background: var(--k89-lime); border-radius: 50%; font-weight: 900; }
.k89-nav ul { display: flex; align-items: center; gap: 26px; margin: 0; padding: 0; list-style: none; }
.k89-nav a { color: var(--k89-ink); font-size: .94rem; font-weight: 650; text-decoration: none; }
.k89-nav a:hover { color: var(--k89-green); }
.k89-header-listen, .k89-button {
	display: inline-flex; align-items: center; justify-content: center; gap: 9px;
	min-height: 46px; padding: 0 20px; border: 0; border-radius: 999px;
	color: #fff; background: var(--k89-green); font-weight: 750; text-decoration: none; cursor: pointer;
}
.k89-header-listen:hover, .k89-button:hover { color: #fff; background: #17462d; }
.k89-hero { overflow: hidden; position: relative; color: #fff; background: var(--k89-green); }
.k89-hero::before { content: ""; position: absolute; width: 540px; height: 540px; right: -100px; top: -250px; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; box-shadow: 0 0 0 48px rgba(255,255,255,.04), 0 0 0 98px rgba(255,255,255,.03); }
.k89-hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 56px; min-height: 520px; padding-block: 76px; }
.k89-eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 14px; color: var(--k89-lime); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.k89-eyebrow::before { content: ""; width: 25px; height: 2px; background: currentColor; }
.k89-hero h1 { max-width: 650px; margin: 0 0 20px; font-size: clamp(2.8rem, 6vw, 5.2rem); line-height: .99; letter-spacing: -.055em; }
.k89-hero-copy { max-width: 520px; color: rgba(255,255,255,.82); font-size: 1.12rem; }
.k89-hero .k89-button { margin-top: 18px; color: var(--k89-ink); background: var(--k89-lime); }
.k89-hero-art { position: relative; display: grid; min-height: 325px; place-items: center; }
.k89-hero-disc { display: grid; width: min(330px, 70vw); aspect-ratio: 1; place-items: center; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; background: repeating-radial-gradient(circle, rgba(255,255,255,.08) 0 1px, transparent 2px 9px), #183f2b; box-shadow: 0 30px 80px rgba(0,0,0,.2); }
.k89-hero-disc span { display: grid; width: 38%; aspect-ratio: 1; place-items: center; border: 10px solid #fff; border-radius: 50%; color: var(--k89-ink); background: var(--k89-lime); font-size: 1.5rem; font-weight: 900; }
.k89-section { padding-block: 82px; }
.k89-section--soft { background: var(--k89-paper); }
.k89-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.k89-section-heading h2 { margin: 0; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; letter-spacing: -.04em; }
.k89-section-heading p { max-width: 460px; margin: 0; color: var(--k89-muted); }
.k89-player { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; padding: 22px; border: 1px solid #e5e9e1; border-radius: var(--k89-radius); background: #fff; box-shadow: var(--k89-shadow); }
.k89-player-art { width: 76px; aspect-ratio: 1; overflow: hidden; display: grid; place-items: center; border-radius: 12px; color: var(--k89-green); background: var(--k89-paper); }
.k89-player-art img { width: 100%; height: 100%; object-fit: cover; }
.k89-player-info { min-width: 0; }
.k89-live { display: flex; align-items: center; gap: 7px; margin-bottom: 4px; color: #d45f3d; font-size: .72rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.k89-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(212,95,61,.13); }
.k89-track-title { overflow: hidden; margin: 0; font-size: 1.12rem; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.k89-track-artist { margin: 2px 0 0; color: var(--k89-muted); font-size: .9rem; }
.k89-player-controls { display: flex; align-items: center; gap: 12px; }
.k89-play { display: grid; width: 54px; height: 54px; place-items: center; border: 0; border-radius: 50%; color: #fff; background: var(--k89-green); font-size: 1.25rem; cursor: pointer; }
.k89-volume { width: 92px; accent-color: var(--k89-green); }
.k89-player-error { margin: 10px 0 0; color: #a53f32; font-size: .85rem; }
.k89-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.k89-card { overflow: hidden; border-radius: var(--k89-radius); background: #fff; box-shadow: 0 10px 32px rgba(22,42,27,.08); }
.k89-card-image { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #e8eedf; }
.k89-card-body { padding: 20px; }
.k89-card h3 { margin: 0 0 7px; font-size: 1.23rem; line-height: 1.2; }
.k89-card p { margin: 0; color: var(--k89-muted); }
.k89-show-time { display: inline-block; margin-bottom: 9px; color: var(--k89-green); font-size: .78rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.k89-schedule { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--k89-radius); overflow: hidden; }
.k89-schedule th, .k89-schedule td { padding: 15px 18px; border-bottom: 1px solid #edf0ea; text-align: left; }
.k89-schedule th { color: var(--k89-muted); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.k89-schedule tr:last-child td { border-bottom: 0; }
.k89-ad { display: grid; min-height: 120px; place-items: center; padding: 18px; border: 1px dashed #c8d0c3; border-radius: 14px; color: var(--k89-muted); background: #fafbf8; text-align: center; }
.k89-ad img { max-height: 150px; object-fit: contain; }
.k89-chat-frame { width: 100%; min-height: 440px; border: 0; border-radius: var(--k89-radius); background: #fff; box-shadow: var(--k89-shadow); }
.k89-contact-form { display: grid; gap: 14px; max-width: 650px; }
.k89-contact-form label { display: grid; gap: 5px; font-weight: 700; }
.k89-contact-form input, .k89-contact-form textarea { width: 100%; padding: 12px 14px; border: 1px solid #d9dfd5; border-radius: 9px; }
.k89-contact-form textarea { min-height: 150px; }
.k89-form-notice { padding: 12px 15px; border-radius: 9px; background: #edf6df; }
.k89-site-footer { padding-block: 48px; color: rgba(255,255,255,.75); background: #17231a; }
.k89-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.k89-site-footer a { color: #fff; }
.k89-footer-title { margin: 0; color: #fff; font-size: 1.2rem; font-weight: 850; }
.k89-footer-copy { margin: 5px 0 0; }
.k89-footer-nav ul { display: flex; flex-wrap: wrap; gap: 18px; margin: 0; padding: 0; list-style: none; }
.k89-page-content { padding-block: 64px; }
.k89-page-content .entry-content { max-width: 850px; }
.k89-about { max-width: 800px; }
.k89-about h2 { max-width: 680px; margin: 0 0 14px; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.08; letter-spacing: -.04em; }
.k89-about > p:last-child { max-width: 700px; color: var(--k89-muted); font-size: 1.1rem; }
.k89-slider { position: relative; }
.k89-slider-track { display: grid; grid-auto-columns: minmax(260px, 1fr); grid-auto-flow: column; gap: 22px; overflow-x: auto; padding: 0 0 15px; scroll-snap-type: x mandatory; }
.k89-slider-track > * { scroll-snap-align: start; }
.k89-empty { color: var(--k89-muted); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 780px) {
	.k89-header-inner { flex-wrap: wrap; padding-block: 14px; }
	.k89-nav { order: 3; width: 100%; overflow-x: auto; }
	.k89-nav ul { gap: 18px; }
	.k89-header-listen { margin-left: auto; }
	.k89-hero-inner { grid-template-columns: 1fr; gap: 20px; min-height: 0; padding-block: 62px; }
	.k89-hero-art { min-height: 240px; }
	.k89-hero-disc { width: 230px; }
	.k89-cards { grid-template-columns: repeat(2, 1fr); }
	.k89-section { padding-block: 60px; }
	.k89-section-heading { display: block; }
	.k89-section-heading p { margin-top: 12px; }
}
@media (max-width: 540px) {
	.k89-container { width: min(100% - 28px, 1160px); }
	.k89-player { grid-template-columns: auto 1fr; gap: 13px; padding: 15px; }
	.k89-player-art { width: 58px; }
	.k89-player-controls { grid-column: 1 / -1; justify-content: space-between; }
	.k89-volume { width: 120px; }
	.k89-cards { grid-template-columns: 1fr; }
	.k89-footer-inner { align-items: flex-start; flex-direction: column; }
	.k89-schedule th, .k89-schedule td { padding: 11px 9px; font-size: .9rem; }
}
