@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  color-scheme: dark;
  --ink: #11150f;
  --ink-soft: #1b2119;
  --cream: #f3f1e9;
  --muted: #a6aa9f;
  --lime: #b8f53e;
  --orange: #ff6a32;
  --purple: #4a164b;
  font-family: 'DM Sans', sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; background: var(--ink); color: var(--cream); }
a { color: inherit; }
.skip-link { position: absolute; z-index: 20; top: 12px; left: 12px; padding: 12px 16px; transform: translateY(-160%); border-radius: 6px; background: var(--lime); color: var(--ink); font-weight: 700; }
.skip-link:focus { transform: translateY(0); }

.topbar { position: relative; z-index: 2; display: flex; height: 86px; align-items: center; justify-content: space-between; padding: 0 clamp(22px, 7vw, 112px); border-bottom: 1px solid rgb(255 255 255 / 8%); background: var(--ink); }
.topbar__actions { display: flex; align-items: center; gap: clamp(16px, 3vw, 34px); }
.station-mark { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.station-logo { display: block; width: 150px; max-width: 35vw; height: auto; }
.station-mark__frequency { color: var(--lime); font-family: 'Space Grotesk', sans-serif; font-size: 13px; font-weight: 700; white-space: nowrap; }
.station-mark__frequency small { margin-left: 2px; color: #a6aa9f; font-size: 9px; letter-spacing: 1px; }
.topbar__listen { display: inline-flex; align-items: center; gap: 11px; color: var(--cream); font-size: 13px; font-weight: 700; text-decoration: none; }
.topbar__listen > span:last-child { margin-left: 4px; color: var(--lime); font-size: 18px; }
.weather-now { display: inline-flex; align-items: center; gap: 7px; color: var(--cream); font-size: 12px; text-decoration: none; }
.weather-now[hidden] { display: none; }
.weather-now__icon { font-size: 17px; line-height: 1; }
.weather-now strong { font-family: 'Space Grotesk', sans-serif; font-size: 15px; }
.weather-now__city { color: #a6aa9f; font-size: 11px; }
.live-dot { display: inline-block; width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: var(--orange); box-shadow: 0 0 13px rgb(255 106 50 / 68%); }

.hero { position: relative; display: flex; min-height: 592px; align-items: center; overflow: hidden; padding: 65px clamp(22px, 12vw, 190px) 104px; background: radial-gradient(ellipse at 78% 48%, #202c1d 0, #161d15 28%, var(--ink) 62%); }
.hero__grain { position: absolute; inset: 0; pointer-events: none; opacity: .1; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.24'/%3E%3C/svg%3E"); }
.hero__copy { position: relative; z-index: 1; max-width: 52vw; }
.eyebrow { display: flex; align-items: center; gap: 11px; margin: 0 0 24px; color: var(--lime); font-size: 10px; font-weight: 800; letter-spacing: 2px; }
.eyebrow__line { display: inline-block; width: 25px; height: 1px; background: currentColor; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 18px; font-family: 'Space Grotesk', sans-serif; font-size: clamp(54px, 6.8vw, 88px); font-weight: 600; line-height: .98; letter-spacing: -6px; }
h1 span { color: var(--lime); }
.hero__station { margin-bottom: 8px; color: #e8e9df; font-size: 18px; }
.hero__station strong { margin-left: 6px; color: var(--lime); font-family: 'Space Grotesk', sans-serif; font-weight: 700; }
.hero__tagline { margin-bottom: 32px; color: var(--muted); font-size: 14px; }
.primary-button { display: inline-flex; min-height: 50px; align-items: center; gap: 13px; padding: 0 21px; border-radius: 4px; background: var(--lime); color: #171c13; font-size: 13px; font-weight: 800; text-decoration: none; transition: background .2s, transform .2s; }
.primary-button:hover { transform: translateY(-2px); background: #ccff69; }
.primary-button__play { font-size: 11px; }
.hero__art { position: absolute; top: 50%; right: clamp(3%, 8vw, 125px); width: min(36vw, 460px); aspect-ratio: 1; transform: translateY(-50%); }
.sun-disc { position: absolute; inset: 10%; border-radius: 50%; background: linear-gradient(168deg, #20b922 0%, #aeed25 30%, #ffe031 51%, #ff741f 73%, #e72917 91%); box-shadow: 0 25px 80px rgb(140 214 39 / 17%); }
.orbit { position: absolute; top: 50%; left: 50%; border: 1px solid rgb(199 255 100 / 27%); border-radius: 50%; transform: translate(-50%, -50%) rotate(-27deg); }
.orbit--one { width: 126%; height: 44%; }
.orbit--two { width: 132%; height: 59%; transform: translate(-50%, -50%) rotate(26deg); border-color: rgb(255 112 50 / 23%); }
.hero__art-caption { position: absolute; right: 2%; bottom: 17%; display: flex; gap: 7px; align-items: center; color: var(--cream); font-family: 'Space Grotesk', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 1px; }
.hero__art-caption span { color: var(--lime); }
.sound-bars { position: absolute; top: 50%; left: 50%; display: flex; height: 56px; align-items: center; gap: 5px; transform: translate(-50%, -50%); opacity: .75; }
.sound-bars i { display: block; width: 3px; height: 28%; border-radius: 3px; background: #172013; }
.sound-bars i:nth-child(3n) { height: 77%; }.sound-bars i:nth-child(3n + 1) { height: 48%; }.sound-bars i:nth-child(4n) { height: 100%; }
.hero__bottomline { position: absolute; right: clamp(22px, 12vw, 190px); bottom: 31px; left: clamp(22px, 12vw, 190px); display: flex; justify-content: space-between; color: #747a6f; font-size: 9px; font-weight: 700; letter-spacing: 1.6px; }
.hero__scroll { color: var(--lime); }.hero__scroll span { margin-left: 8px; font-size: 15px; }

.listen-section { padding: 85px clamp(22px, 15vw, 240px) 98px; background: var(--cream); color: var(--ink); }
.listen-section__heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.eyebrow--dark { margin-bottom: 13px; color: #626959; }
.eyebrow--dark .live-dot { width: 7px; height: 7px; }
.listen-section h2, .community h2 { margin-bottom: 0; font-family: 'Space Grotesk', sans-serif; font-size: clamp(36px, 5vw, 58px); font-weight: 600; line-height: 1; letter-spacing: -3px; }
.listen-section h2 em { color: #779e27; font-style: normal; }
.listen-section__note { margin-bottom: 4px; color: #6d7168; font-size: 13px; }
.player-card { position: relative; max-width: 760px; margin: 0 auto; overflow: hidden; padding: 27px clamp(18px, 4vw, 35px) 30px; border: 1px solid #dcded4; border-radius: 11px; background: linear-gradient(145deg, #fffefa, #f8f8f0); box-shadow: 0 18px 50px rgb(28 35 22 / 10%); }
.player-card::before { position: absolute; top: 0; right: 0; left: 0; height: 4px; background: linear-gradient(90deg, #16bd12 0%, #f4e91a 45%, #ff7515 73%, #e62d25 100%); content: ''; }
.player-card__top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 20px; border-bottom: 1px solid #e9e9e0; }
.player-card__identity { display: flex; align-items: center; gap: 13px; }
.player-card__icon { display: block; width: 51px; height: 51px; flex: 0 0 auto; padding: 2px; border: 1px solid #d5ddc5; border-radius: 13px; background: linear-gradient(145deg, #fff 0%, #f2f5e9 100%); box-shadow: 0 4px 12px rgb(32 52 18 / 12%); }
.player-card__identity strong, .player-card__identity span { display: block; }
.player-card__identity strong { margin-bottom: 4px; font-size: 14px; }
.player-card__identity div > span { color: #85897e; font-size: 11px; }
.on-air { display: inline-flex; align-items: center; gap: 8px; color: #777b70; font-size: 9px; font-weight: 800; letter-spacing: 1.2px; }
.on-air .live-dot { width: 7px; height: 7px; }
.player-hint { margin: 19px 0 12px; color: #777b70; font-size: 12px; }
.player-frame { width: 100%; max-width: 497px; height: 310px; margin: 0 auto; overflow: hidden; padding: 4px; border: 1px solid #414737; border-radius: 11px; background: linear-gradient(135deg, #b8f53e 0%, #f3d836 38%, #ff6a32 70%, #542052 100%); box-shadow: 0 10px 25px rgb(17 21 15 / 14%); }
/* Se conserva el viewport 497x380 del proveedor y se recortan solo los 80px vacíos comprobados al pie (también a 270px de ancho). */
.player-frame iframe { display: block; width: 100%; max-width: 100%; height: 380px; border: 0; }

.forecast-section { padding: 70px clamp(22px, 10vw, 160px) 58px; background: #e9e8dc; color: var(--ink); }
.forecast-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin: 0 auto 24px; max-width: 1120px; }
.forecast-heading .eyebrow { margin-bottom: 13px; }
.forecast-heading h2 { margin: 0; font-family: 'Space Grotesk', sans-serif; font-size: clamp(34px, 4vw, 48px); font-weight: 600; line-height: 1.05; letter-spacing: -2.6px; }
.forecast-heading h2 em { color: #779e27; font-style: normal; }
.forecast-heading__place { margin-bottom: 4px; color: #6d7168; font-size: 12px; }
.forecast-status { min-height: 20px; margin: 0 auto 18px; max-width: 1120px; color: #64695d; font-size: 12px; }
.forecast-grid { display: grid; max-width: 1120px; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; margin: 0 auto; }
.forecast-grid[hidden] { display: none; }
.forecast-day { display: flex; min-height: 177px; flex-direction: column; align-items: center; padding: 16px 10px 14px; border: 1px solid #d6d8cd; border-radius: 7px; background: #f8f7f0; text-align: center; }
.forecast-day__name { margin: 0 0 10px; color: #555c4c; font-size: 12px; font-weight: 700; text-transform: capitalize; }
.forecast-day__icon { min-height: 36px; font-size: 26px; line-height: 1.25; }
.forecast-day__condition { min-height: 30px; margin: 3px 0 9px; color: #777b70; font-size: 9px; line-height: 1.35; }
.forecast-day__temperatures { display: flex; gap: 12px; align-items: baseline; margin: auto 0 0; font-family: 'Space Grotesk', sans-serif; font-size: 12px; }
.forecast-day__temperatures strong { font-size: 17px; }
.forecast-day__temperatures span { color: #8b8f84; }
.forecast-attribution { max-width: 1120px; margin: 16px auto 0; color: #777b70; font-size: 10px; text-align: right; }
.forecast-attribution a { color: #626959; }

.install-section { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 48px clamp(22px, 10vw, 160px); border-top: 1px solid rgb(255 255 255 / 7%); background: var(--ink-soft); color: var(--cream); }
.install-section__copy { max-width: 650px; }
.install-section__copy .eyebrow { margin-bottom: 14px; }
.install-section h2 { margin: 0 0 12px; font-family: 'Space Grotesk', sans-serif; font-size: clamp(34px, 4vw, 46px); font-weight: 600; line-height: 1.05; letter-spacing: -2.4px; }
.install-section h2 em { color: var(--lime); font-style: normal; }
.install-section__copy > p:last-child { max-width: 560px; margin: 0; color: #aeb2a6; font-size: 13px; line-height: 1.6; }
.install-section__action { display: grid; min-width: 235px; justify-items: start; gap: 10px; }
.install-button { display: inline-flex; min-height: 48px; align-items: center; gap: 11px; padding: 0 19px; border: 0; border-radius: 5px; background: var(--lime); color: var(--ink); cursor: pointer; font: inherit; font-size: 13px; font-weight: 800; transition: background .2s, transform .2s; }
.install-button:hover { transform: translateY(-2px); background: #ccff69; }
.install-button:focus-visible, .install-dialog__close:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.install-button[hidden] { display: none; }
.install-button > span:first-child { font-size: 19px; line-height: 1; }
.install-hint { margin: 0; color: #aeb2a6; font-size: 10px; line-height: 1.45; }
.install-dialog { width: min(470px, calc(100% - 32px)); max-width: none; padding: 0; border: 1px solid #d9ddcf; border-radius: 12px; background: #f8f7f0; color: var(--ink); box-shadow: 0 24px 80px rgb(0 0 0 / 35%); }
.install-dialog::backdrop { background: rgb(7 10 7 / 74%); backdrop-filter: blur(4px); }
.install-dialog__content { padding: clamp(23px, 6vw, 34px); }
.install-dialog .eyebrow { margin-bottom: 11px; font-size: 9px; }
.install-dialog h2 { margin: 0 0 7px; font-family: 'Space Grotesk', sans-serif; font-size: 32px; letter-spacing: -1px; }
.install-dialog__platform { margin: 0 0 15px; color: #6b7163; font-size: 12px; font-weight: 700; }
.install-instructions { display: grid; gap: 11px; margin: 0 0 22px; padding-left: 21px; color: #464b41; font-size: 13px; line-height: 1.5; }
.install-dialog__close { min-height: 42px; padding: 0 17px; border: 0; border-radius: 4px; background: var(--ink); color: var(--cream); cursor: pointer; font: inherit; font-size: 12px; font-weight: 700; }

.community { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 65px clamp(22px, 15vw, 240px); background: var(--ink-soft); }
.community__copy .eyebrow { margin-bottom: 15px; }
.community h2 { margin-bottom: 11px; font-size: clamp(35px, 4vw, 48px); }
.community__copy > p:last-child { margin-bottom: 0; color: #aeb2a6; font-size: 13px; }
.whatsapp-button { display: flex; min-height: 70px; min-width: min(100%, 310px); align-items: center; gap: 13px; padding: 12px 16px; border: 1px solid rgb(184 245 62 / 36%); border-radius: 6px; background: rgb(184 245 62 / 6%); text-decoration: none; transition: background .2s, border-color .2s; }
.whatsapp-button:hover { border-color: var(--lime); background: rgb(184 245 62 / 12%); }
.whatsapp-button svg { width: 27px; height: 27px; flex: 0 0 auto; fill: var(--lime); }
.whatsapp-button span:nth-child(2) { display: grid; gap: 4px; }
.whatsapp-button strong { font-size: 12px; }
.whatsapp-button small { color: #aeb2a6; font-size: 11px; }
.whatsapp-button__arrow { margin-left: auto; color: var(--lime); font-size: 17px; }

.footer { display: flex; min-height: 102px; align-items: center; justify-content: space-between; gap: 20px; padding: 20px clamp(22px, 7vw, 112px); border-top: 1px solid rgb(255 255 255 / 8%); color: #9ca195; }
.station-mark--footer .station-logo { width: 126px; }
.station-mark--footer .station-mark__frequency { font-size: 11px; }
.footer p { margin: 0; font-size: 11px; }
.footer__place { color: #777d72; font-size: 9px; font-weight: 700; letter-spacing: 1px; }

@media (min-width: 1500px) { .hero { min-height: 650px; } }
@media (max-width: 900px) {
  .hero { min-height: 555px; padding-left: 8vw; }
  .hero__bottomline { right: 8vw; left: 8vw; }
  .hero__copy { max-width: 50vw; }
  .hero__art { right: 4vw; width: 36vw; }
  .listen-section, .community { padding-right: 8vw; padding-left: 8vw; }
  .forecast-section { padding-right: 5vw; padding-left: 5vw; }
  .forecast-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .topbar { height: 72px; padding: 0 20px; }
  .topbar__actions { gap: 12px; }
  .station-mark { gap: 7px; }
  .station-logo { width: 106px; }
  .topbar__listen { gap: 8px; font-size: 11px; }
  .weather-now { gap: 4px; }
  .weather-now__city { display: none; }
  .hero { display: block; min-height: 665px; padding: 67px 23px 98px; background: radial-gradient(ellipse at 74% 72%, #24311c 0, #171f15 29%, var(--ink) 68%); }
  .hero__copy { max-width: 100%; }
  .eyebrow { font-size: 9px; letter-spacing: 1.6px; }
  h1 { font-size: clamp(55px, 14vw, 76px); letter-spacing: -4.8px; }
  .hero__station { font-size: 16px; }
  .hero__tagline { margin-bottom: 22px; font-size: 12px; }
  .primary-button { min-height: 46px; }
  .hero__art { top: auto; right: 50%; bottom: 24px; width: min(68vw, 310px); transform: translateX(50%); }
  .sound-bars { height: 42px; gap: 4px; }
  .sound-bars i { width: 2px; }
  .hero__bottomline { right: 22px; bottom: 17px; left: 22px; font-size: 7px; letter-spacing: 1px; }
  .hero__bottomline > span:first-child { max-width: 48%; }
  .hero__scroll span { margin-left: 3px; }
  .listen-section { padding: 63px 20px 70px; }
  .listen-section__heading { display: block; margin-bottom: 24px; }
  .listen-section h2 { font-size: 42px; letter-spacing: -2.5px; }
  .listen-section__note { margin-top: 12px; font-size: 12px; }
  .player-card { padding: 19px 15px 21px; }
  .player-card__top { padding-bottom: 15px; }
  .player-card__identity { gap: 10px; }
  .player-card__icon { width: 44px; height: 44px; }
  .player-card__identity strong { font-size: 12px; }
  .player-card__identity div > span { font-size: 9px; }
  .on-air { gap: 6px; font-size: 8px; }
  .player-hint { font-size: 11px; }
  .player-frame { max-width: 100%; height: 310px; overflow: hidden; }
  .player-frame iframe { height: 380px; }
  .forecast-section { padding: 52px 20px 43px; }
  .forecast-heading { display: block; margin-bottom: 20px; }
  .forecast-heading h2 { font-size: 39px; letter-spacing: -2px; }
  .forecast-heading__place { margin: 10px 0 0; }
  .forecast-status { line-height: 1.5; }
  .forecast-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .forecast-day { min-height: 155px; padding: 13px 8px 12px; }
  .forecast-day__condition { max-width: 125px; }
  .forecast-attribution { line-height: 1.45; text-align: left; }
  .install-section { display: block; padding: 46px 22px; }
  .install-section h2 { font-size: 39px; letter-spacing: -2px; }
  .install-section__action { margin-top: 21px; }
  .community { display: block; padding: 52px 22px; }
  .community h2 { font-size: 39px; }
  .community__copy > p:last-child { max-width: 310px; line-height: 1.55; }
  .whatsapp-button { margin-top: 25px; }
  .footer { min-height: auto; flex-wrap: wrap; justify-content: space-between; padding: 20px 22px; }
  .station-mark--footer .station-logo { width: 98px; }
  .footer p { order: 3; width: 100%; }
  .footer__place { font-size: 8px; text-align: right; }
}
@media (max-width: 380px) {
  .topbar { padding-right: 14px; padding-left: 14px; }
  .topbar__actions { gap: 9px; }
  .station-logo { width: 84px; }
  .station-mark--footer .station-logo { width: 84px; }
  .station-mark__frequency { display: none; }
  .topbar__listen { gap: 5px; font-size: 10px; }
  .topbar__listen-label { max-width: 74px; line-height: 1.1; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; } }
