/* MB Radio — Sitio de una sola página. Sin frameworks, sin PWA. */
:root {
  color-scheme: light;
  --bg: #fcf9f6;
  --surface: #fffdfa;
  --surface-2: #f5eeeb;
  --ink: #292325;
  --muted: #756c6d;
  --line: #e7dcda;
  --accent: #d8504c;
  --accent-hover: #bf3d3a;
  --accent-soft: #f8e8e4;
  --deep: #5b262e;
  --hero-a: #f9e6df;
  --hero-b: #d8b7b4;
  --card: #fffaf7;
  --cream-text: #fff8f5;
  --shadow: 0 24px 70px rgba(60,34,38,.08);
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #1c1b1d;
  --surface: #252326;
  --surface-2: #312a2d;
  --ink: #f6efee;
  --muted: #b9abad;
  --line: #443a3d;
  --accent: #ed7771;
  --accent-hover: #f48a84;
  --accent-soft: #422c31;
  --deep: #f2bdba;
  --hero-a: #493037;
  --hero-b: #302932;
  --card: #32262b;
  --cream-text: #fff8f5;
  --shadow: 0 24px 70px rgba(0,0,0,.22);
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:32px}
body{margin:0;min-width:320px;background:var(--bg);color:var(--ink);font:400 16px/1.65 var(--font);-webkit-font-smoothing:antialiased;transition:background .2s,color .2s;padding-bottom:100px}
::selection{background:#d8504c;color:#fff}
a{color:inherit;text-decoration:none}
button,input{font:inherit}
button{cursor:pointer}
button:disabled{cursor:not-allowed}
svg{display:block}
.icon{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex:none}
.svg-defs{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}
.container{width:min(100% - 100px,1192px);margin-inline:auto}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
:focus-visible{outline:3px solid var(--accent);outline-offset:4px}
.site-header{height:104px;border-bottom:1px solid var(--line);background:var(--bg)}
.header-inner{display:flex;justify-content:space-between;align-items:center;height:100%;gap:24px}
.brand{display:flex;align-items:center;width:113px;flex:none}
.brand img{width:100%;height:auto;display:block}
.header-actions{display:flex;align-items:center;gap:36px}
.header-location{display:flex;align-items:center;gap:9px;font-size:10px;font-weight:800;letter-spacing:.16em;color:var(--muted);white-space:nowrap}
.header-location-dot{background:var(--accent);width:7px;height:7px;border-radius:50%}
.theme-toggle{display:flex;align-items:center;gap:11px;color:var(--ink);background:transparent;border:1px solid var(--line);border-radius:100px;padding:9px 15px 9px 11px;line-height:1;min-height:45px;transition:border-color .2s,background .2s}
.theme-toggle:hover{border-color:var(--accent);background:var(--accent-soft)}
.theme-toggle .icon{width:18px;height:18px}
.theme-toggle-text{font-size:12px;font-weight:750}
.theme-icon-sun{display:none}
:root[data-theme="dark"] .theme-icon-sun{display:block}
:root[data-theme="dark"] .theme-icon-moon{display:none}

.hero{position:relative;overflow:hidden;background:radial-gradient(circle at 92% 20%,var(--hero-a),transparent 39%),var(--bg)}
.hero-grid{min-height:660px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:60px;padding-top:40px;padding-bottom:56px}
.hero-copy{position:relative;z-index:2;padding-block:42px}
.eyebrow{display:flex;align-items:center;gap:12px;font-size:11px;font-weight:800;letter-spacing:.17em;color:var(--accent);margin:0 0 28px}
.eyebrow-rule{width:35px;height:1px;background:var(--accent)}
h1,h2,h3,p{margin-top:0}
h1,h2{letter-spacing:-.067em;line-height:1.065}
h1{font-size:clamp(60px,5.1vw,76px);font-weight:800;max-width:670px;margin-bottom:30px}
h1 span{display:block;color:var(--accent);font-weight:520;font-style:italic;font-family:Georgia,'Times New Roman',serif;letter-spacing:-.065em}
.hero-lead{max-width:495px;font-size:17px;line-height:1.85;color:var(--muted);margin:0 0 34px}
.hero-cta{display:flex;align-items:center;gap:28px;flex-wrap:wrap}
.primary-play{display:inline-flex;align-items:center;gap:13px;background:var(--accent);color:white;border:1px solid transparent;border-radius:100px;padding:8px 16px 8px 8px;min-height:66px;min-width:217px;box-shadow:0 11px 26px rgba(216,80,76,.16);transition:transform .2s,background .2s,box-shadow .2s}
.primary-play:hover{transform:translateY(-2px);background:var(--accent-hover);box-shadow:0 14px 30px rgba(216,80,76,.22)}
.primary-play-icon{width:48px;height:48px;background:rgba(255,255,255,.17);border-radius:50%;display:grid;place-items:center}
.primary-play-icon .icon{width:24px;height:24px}
.primary-play-label{font-size:13px;font-weight:800;white-space:nowrap}
.primary-play-arrow{width:18px;height:18px;margin-left:auto}
.text-link{display:inline-flex;align-items:center;gap:8px;font-weight:750;font-size:12px;border-bottom:1px solid var(--line);padding-bottom:3px;transition:color .2s}
.text-link:hover{color:var(--accent)}
.text-link .icon{width:16px;height:16px;transform:rotate(45deg)}
.hero-footnote{display:flex;align-items:center;gap:10px;font-size:12px;color:var(--muted);margin:28px 0 0}
.hero-footnote .icon{width:16px;height:16px}
.hero-visual{height:520px;position:relative;display:flex;align-items:center;justify-content:center;isolation:isolate}
.ambient-orbit{position:absolute;border:1px solid rgba(216,80,76,.16);border-radius:50%;width:530px;height:530px;z-index:-1}
.orbit-one{transform:translate(32px,-1px)}
.orbit-two{width:420px;height:420px;transform:translate(32px,-1px)}
.vinyl{width:450px;aspect-ratio:1;position:absolute;right:-85px;top:32px;border-radius:50%;background:repeating-radial-gradient(circle at 50% 50%,rgba(255,255,255,.025) 0 2px,transparent 3px 8px),linear-gradient(140deg,#6a303b,#3e2029 70%);box-shadow:0 25px 70px rgba(76,35,45,.25),inset 0 0 0 2px rgba(255,255,255,.08);z-index:-1;overflow:hidden}
.vinyl:after{content:"";position:absolute;inset:30px;border:1px solid rgba(255,255,255,.09);border-radius:50%;box-shadow:0 0 0 40px rgba(255,255,255,.018),0 0 0 82px rgba(255,255,255,.012)}
.vinyl-inner{position:absolute;inset:37%;background:linear-gradient(160deg,#e98f84,#c94b4d);border-radius:50%;border:11px solid rgba(0,0,0,.14)}
.vinyl-inner:after{content:"";position:absolute;inset:47%;border-radius:50%;background:#f6c7bc}
.hero-station-card{z-index:1;width:min(89%,405px);min-height:338px;background:var(--card);border:1px solid rgba(216,80,76,.14);border-radius:13px;box-shadow:0 40px 90px rgba(57,27,31,.26);transform:rotate(-5deg) translate(-17px,9px);padding:29px;display:flex;flex-direction:column;justify-content:space-between;transition:transform .4s}
.hero-station-card:hover{transform:rotate(-2deg) translate(-17px,0)}
.station-kicker{margin:0;display:flex;align-items:center;gap:8px;color:var(--accent);font-size:10px;letter-spacing:.18em;font-weight:800}
.live-dot{width:7px;height:7px;background:var(--accent);border-radius:50%;box-shadow:0 0 0 5px rgba(216,80,76,.1)}
.station-logo{width:100%;height:auto;display:block;max-width:320px;align-self:center;margin:34px auto 24px}
.station-bottom{border-top:1px solid var(--line);padding-top:22px;display:flex;align-items:flex-end;justify-content:space-between;gap:12px}
.station-bottom strong{display:block;font-size:13px;line-height:1.4;color:var(--ink)}
.station-line{font-size:12px;color:var(--muted);display:block}
.equalizer{height:34px;display:flex;align-items:flex-end;gap:4px;flex:none;opacity:.75}
.equalizer i{height:60%;width:4px;border-radius:2px;background:var(--accent)}
.equalizer i:nth-child(2){height:100%}.equalizer i:nth-child(3){height:45%}.equalizer i:nth-child(4){height:80%}.equalizer i:nth-child(5){height:55%}
.is-playing .equalizer i{animation:levels .8s ease-in-out infinite alternate;transform-origin:bottom}
.is-playing .equalizer i:nth-child(2){animation-delay:-.35s}.is-playing .equalizer i:nth-child(3){animation-delay:-.55s}.is-playing .equalizer i:nth-child(4){animation-delay:-.2s}.is-playing .equalizer i:nth-child(5){animation-delay:-.7s}
@keyframes levels{0%{transform:scaleY(.35)}100%{transform:scaleY(1)}}
.visual-label{position:absolute;bottom:14px;right:0;font-size:10px;font-weight:800;letter-spacing:.19em;color:var(--muted)}
.visual-label span{color:var(--accent)}
.hero-separator{display:flex;justify-content:space-between;padding:18px 0 21px;border-top:1px solid var(--line);font-size:10px;font-weight:800;letter-spacing:.16em;color:var(--muted)}

.section{padding:118px 0}
.section-overline{font-size:11px;font-weight:850;letter-spacing:.16em;color:var(--accent);margin:0 0 25px}
h2{font-size:clamp(44px,5.3vw,76px);font-weight:800;margin:0}
h2 em{color:var(--accent);font-family:Georgia,'Times New Roman',serif;font-weight:500}
.section-intro{display:flex;justify-content:space-between;align-items:flex-end;gap:70px;margin-bottom:45px}
.section-deck{max-width:310px;margin:0 0 8px;line-height:1.8;color:var(--muted);font-size:15px}
.programming{background:var(--surface)}
.schedule-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.schedule-card{border-radius:9px;padding:34px;display:flex;flex-direction:column;min-height:348px;position:relative;overflow:hidden}
.daytime{background:#f8e7df;color:#562e33}
.evening{background:#4d2c35;color:#fef7f4}
.schedule-card:after{content:"";position:absolute;right:-99px;bottom:-157px;width:315px;height:315px;border-radius:50%;border:54px solid currentColor;opacity:.045;pointer-events:none}
.schedule-card-top{display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:11px;letter-spacing:.11em;font-weight:800}
.schedule-badge{border:1px solid currentColor;padding:6px 10px;border-radius:90px;font-size:9px;opacity:.72}
.schedule-times{font-size:clamp(35px,4vw,52px);font-weight:800;letter-spacing:-.07em;line-height:1.2;margin-top:34px;white-space:nowrap}
.schedule-times span{opacity:.4;font-weight:400}
.schedule-card-info{margin-top:auto;display:flex;gap:22px;align-items:flex-start;padding-top:29px}
.schedule-symbol{height:60px;width:60px;display:grid;place-items:center;font-size:40px;border:1px solid currentColor;border-radius:50%;flex:none;line-height:1}
.sound-symbol{font-size:37px}
.schedule-card-info h3{font-size:17px;letter-spacing:-.02em;line-height:1.3;margin:2px 0 8px}
.schedule-card-info p{font-size:13px;line-height:1.7;max-width:365px;margin:0;opacity:.77}
.time-note{display:flex;align-items:center;gap:9px;font-size:12px;color:var(--muted);margin-top:20px}
.time-note .icon{width:16px;height:16px}

.about{background:var(--bg)}
.about-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:12%;align-items:start}
.about-heading{position:sticky;top:40px}
.about-quote{margin-top:65px;border-left:2px solid var(--accent);padding:1px 0 1px 25px;max-width:310px}
.quote-symbol{font-size:58px;line-height:1;font-family:Georgia,serif;color:var(--accent);height:50px}
.about-quote p{font-family:Georgia,'Times New Roman',serif;font-size:22px;font-style:italic;line-height:1.45;margin:0}
.about-copy{padding-top:38px}
.about-copy p{color:var(--muted);font-size:15px;line-height:1.95;margin:0 0 22px}
.about-copy .about-lead{font-size:23px;line-height:1.6;font-weight:600;color:var(--ink);letter-spacing:-.025em;margin-bottom:28px}
.about-copy strong{color:var(--ink);font-weight:700}
.inline-contact{display:inline-flex;align-items:center;gap:10px;color:var(--accent);font-weight:800;font-size:13px;border-bottom:1px solid currentColor;padding:10px 0 6px;margin-top:8px}
.inline-contact:hover{color:var(--accent-hover)}
.inline-contact .icon{width:18px;height:18px}

.contact{background:var(--surface-2)}
.contact-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:35px;margin-bottom:44px}
.contact-heading h2{font-size:clamp(44px,5vw,68px)}
.contact-heading>p{color:var(--muted);max-width:280px;font-size:15px;line-height:1.8;margin:0 0 7px}
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.contact-item{padding:27px;display:flex;align-items:center;gap:21px;background:var(--surface);border:1px solid var(--line);border-radius:9px;min-width:0;transition:border-color .2s,transform .2s,box-shadow .2s}
.contact-item:hover{transform:translateY(-2px);border-color:var(--accent);box-shadow:var(--shadow)}
.contact-icon{width:54px;height:54px;border-radius:13px;display:grid;place-items:center;background:var(--accent-soft);color:var(--accent);flex:none}
.contact-icon .icon{width:23px;height:23px}
.contact-copy{display:flex;flex-direction:column;min-width:0;line-height:1.4;gap:2px}
.contact-copy small{font-size:9px;letter-spacing:.15em;font-weight:850;color:var(--accent)}
.contact-copy strong{font-size:18px;letter-spacing:-.03em}
.contact-detail{color:var(--muted);font-size:12px;overflow-wrap:anywhere}
.contact-arrow{margin-left:auto;width:18px;height:18px;color:var(--muted);transform:rotate(-45deg)}
.site-footer{background:var(--bg);padding:34px 0}
.footer-inner{display:flex;justify-content:space-between;align-items:center;gap:20px;color:var(--muted);font-size:11px;letter-spacing:.08em}
.footer-inner>span:first-child{font-weight:850;color:var(--ink);font-size:10px}
.footer-rule{color:var(--accent);margin-inline:10px}

.player-dock{position:fixed;z-index:30;bottom:0;left:0;right:0;min-height:90px;background:color-mix(in srgb,var(--surface) 96%,transparent);border-top:1px solid var(--line);box-shadow:0 -15px 60px rgba(28,24,26,.06);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.player-inner{height:90px;display:grid;grid-template-columns:1fr 1fr 1fr;align-items:center;gap:16px}
.player-identity{display:flex;align-items:center;gap:15px;min-width:0}
.player-avatar{width:56px;height:56px;border:1px solid var(--line);background:#fff9f7;display:grid;place-items:center;border-radius:10px;flex:none}
.player-avatar img{width:84%;height:auto}
.player-info{display:flex;flex-direction:column;gap:1px;min-width:0}
.player-info strong{font-size:14px;white-space:nowrap}
.player-info small{font-size:11px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.live-mini-dot{display:inline-block;width:6px;height:6px;background:var(--accent);border-radius:50%;margin:0 0 2px 4px}
.player-center{display:flex;justify-content:center;align-items:center;gap:18px;position:relative}
.dock-play{width:51px;height:51px;display:grid;place-items:center;color:white;border:0;border-radius:50%;background:var(--accent);box-shadow:0 7px 18px rgba(216,80,76,.19);transition:background .2s,transform .2s}
.dock-play:hover{background:var(--accent-hover);transform:scale(1.05)}
.dock-play .icon{width:23px;height:23px}
.dock-hint{font-size:10px;letter-spacing:.13em;font-weight:850;color:var(--muted);position:absolute;left:calc(50% + 42px)}
.action-pause{display:none}
.wants-playback .action-pause{display:block}
.wants-playback .action-play{display:none}
.player-volume{justify-self:end;display:flex;align-items:center;gap:10px;color:var(--muted)}
.player-volume .icon{width:19px;height:19px}
.player-volume input{width:116px;height:18px;accent-color:var(--accent);cursor:pointer}
.player-volume span{width:32px;font-size:11px;font-variant-numeric:tabular-nums}
.is-reconnecting .live-mini-dot,.is-reconnecting .live-dot{animation:pulse 1.2s infinite}
@keyframes pulse{50%{opacity:.25;transform:scale(.75)}}

@media(max-width:1100px){
  .container{width:min(100% - 64px,1192px)}
  .hero-grid{gap:22px}
  .hero-copy h1{font-size:clamp(58px,6.1vw,80px)}
  .vinyl{width:400px;right:-100px;top:48px}
  .hero-station-card{min-height:315px}
  .hero-cta{gap:18px}
  .schedule-card{padding:28px}
  .schedule-times{font-size:40px}
}
@media(max-width:760px){
  body{padding-bottom:78px}
  .container{width:min(100% - 40px,560px)}
  .site-header{height:78px}
  .brand{width:86px}
  .header-actions{gap:12px}
  .header-location{display:none}
  .theme-toggle{width:43px;height:43px;min-height:43px;padding:0;justify-content:center}
  .theme-toggle-text{display:none}
  .hero{background:radial-gradient(circle at 70% 80%,var(--hero-a),transparent 50%),var(--bg)}
  .hero-grid{display:flex;flex-direction:column;gap:4px;align-items:stretch;min-height:0;padding-top:40px;padding-bottom:30px}
  .hero-copy{padding-block:18px 0}
  .eyebrow{font-size:10px;margin-bottom:21px}
  h1{font-size:clamp(51px,11vw,76px);line-height:1.06;letter-spacing:-.07em;margin-bottom:20px}
  .hero-lead{font-size:15px;line-height:1.75;margin-bottom:25px}
  .hero-cta{gap:16px}
  .primary-play{min-height:61px;min-width:201px}
  .primary-play-icon{width:43px;height:43px}
  .text-link{font-size:11px}
  .hero-footnote{margin-top:20px}
  .hero-visual{height:350px;margin-top:17px}
  .ambient-orbit{width:350px;height:350px;transform:translate(14px,0)}
  .orbit-two{width:265px;height:265px}
  .vinyl{width:290px;right:-22px;top:17px}
  .hero-station-card{width:min(82%,310px);min-height:257px;padding:20px;transform:rotate(-5deg) translate(-18px,4px)}
  .hero-station-card:hover{transform:rotate(-2deg) translate(-18px,0)}
  .station-logo{width:100%;max-width:260px;margin:20px auto 14px}
  .station-kicker{font-size:9px}
  .station-bottom{padding-top:13px}
  .station-bottom strong{font-size:12px}
  .station-line{font-size:11px}
  .visual-label{bottom:0;right:0;font-size:9px}
  .hero-separator{font-size:9px}
  .hero-separator span:last-child{display:none}
  .section{padding:80px 0}
  .section-intro,.contact-heading{display:block;margin-bottom:30px}
  .section-overline{font-size:10px;margin-bottom:17px}
  h2{font-size:clamp(43px,9.5vw,62px)}
  .section-deck,.contact-heading>p{max-width:420px;margin:18px 0 0;font-size:14px}
  .schedule-grid{grid-template-columns:1fr;gap:14px}
  .schedule-card{min-height:292px;padding:26px}
  .schedule-times{font-size:clamp(38px,8.4vw,52px);margin-top:31px}
  .schedule-card-info{padding-top:24px}
  .schedule-card-info h3{font-size:17px}
  .about-grid{grid-template-columns:1fr;gap:33px}
  .about-heading{position:static}
  .about-quote{margin-top:24px;max-width:100%}
  .about-quote p{font-size:20px;max-width:380px}
  .about-copy{padding-top:0}
  .about-copy p{font-size:14px;line-height:1.85}
  .about-copy .about-lead{font-size:20px}
  .contact-grid{grid-template-columns:1fr;gap:11px}
  .contact-item{padding:21px}
  .footer-inner{display:block;font-size:11px;line-height:2}
  .player-dock{min-height:76px}
  .player-inner{height:76px;display:flex;align-items:center;justify-content:space-between;gap:14px}
  .player-avatar{width:46px;height:46px}
  .player-identity{gap:11px;flex:1}
  .player-center{flex:none}
  .dock-play{width:48px;height:48px}
  .dock-hint,.player-volume{display:none}
  .player-info small{font-size:10px;max-width:calc(100vw - 170px)}
}
@media(min-width:761px) and (max-width:900px){
  .player-volume input{width:80px}
  .dock-hint{display:none}
  .hero-visual{height:420px}
  .vinyl{width:330px;right:-40px;top:44px}
  .hero-station-card{min-height:260px;padding:20px}
  .station-logo{margin:21px auto}
  .hero-copy h1{font-size:58px}
  .schedule-times{font-size:34px}
  .schedule-symbol{width:48px;height:48px}
}
@media(max-width:380px){
  .hero-cta{gap:17px}
  .primary-play{min-width:0;width:100%;justify-content:flex-start}
  .text-link{margin-left:8px}
  .hero-visual{height:325px}
  .vinyl{right:-35px}
  .hero-station-card{width:83%;min-height:250px}
  .schedule-card-info{gap:15px}
  .schedule-symbol{width:47px;height:47px;font-size:32px}
  .contact-icon{width:45px;height:45px}
  .contact-item{gap:13px;padding:17px}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}
