@charset "UTF-8";

:root {
  color-scheme: light;
  --ink: #122b28;
  --ink-soft: #314b45;
  --green: #177b45;
  --green-bright: #8be05f;
  --cream: #f6f3e9;
  --paper: #fffdf6;
  --muted: #65736c;
  --line: rgba(18, 43, 40, 0.16);
  --gold: #edb64b;
  --ember: #c86742;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-family: var(--sans);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--cream);
  color: var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--cream); }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
::selection { color: var(--ink); background: #c8efaa; }

.skip-link {
  position: absolute;
  z-index: 20;
  top: 0.7rem;
  left: 0.7rem;
  padding: 0.8rem 1rem;
  border-radius: 0.5rem;
  color: #fff;
  background: var(--ink);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid #e79a24; outline-offset: 4px; }
.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;
}
.section-wrap { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }

.site-header {
  position: relative;
  z-index: 2;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 243, 233, 0.94);
}
.site-header__inner {
  width: min(1300px, calc(100% - 64px));
  min-height: 78px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.22rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.03em;
}
.wordmark__monogram {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border: 1px solid var(--green);
  border-radius: 50%;
  color: var(--green);
  font-family: var(--sans);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: -0.08em;
}
.header-listen, .header-back {
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}
.header-listen { color: var(--green); }
.header-listen__light, .status-light {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(23, 123, 69, 0.12);
}
.header-back { color: var(--ink-soft); }
.header-listen:hover, .header-back:hover, .text-link:hover, .site-footer a:hover { text-decoration: underline; text-underline-offset: 0.22em; }

.hero {
  min-height: 580px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2.5rem, 7vw, 7rem);
  padding-top: clamp(3rem, 7vw, 6rem);
  padding-bottom: clamp(3.5rem, 8vw, 7rem);
}
.hero__photo-wrap { position: relative; }
.hero__photo-wrap::before {
  position: absolute;
  z-index: 0;
  inset: 18px -18px -18px 18px;
  border: 1px solid rgba(23, 123, 69, 0.36);
  content: "";
}
.hero__photo {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1.13;
  object-fit: cover;
  object-position: 49% center;
  border-radius: 2px;
  box-shadow: 0 28px 70px rgba(20, 42, 37, 0.18);
}
.photo-caption {
  position: absolute;
  z-index: 2;
  right: -1px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.68rem 0.86rem;
  color: #fff;
  background: var(--ink);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}
.caption-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green-bright); }
.hero__content { max-width: 520px; }
.eyebrow {
  margin: 0 0 1.05rem;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.eyebrow--green { color: var(--green); }
.eyebrow--faith { display: inline-flex; align-items: center; gap: 0.55rem; }
.faith-mark {
  width: 1.12rem;
  height: 1.12rem;
  flex: 0 0 auto;
  color: var(--ember);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero h1, .live-intro h1 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(3.25rem, 6.4vw, 6rem);
  font-weight: 500;
  letter-spacing: -0.07em;
  line-height: 0.98;
}
.hero__description {
  max-width: 425px;
  margin: 1.55rem 0 1.7rem;
  color: var(--ink-soft);
  font-size: clamp(1.03rem, 1.4vw, 1.19rem);
  line-height: 1.7;
}
.hero__brand-art {
  width: min(100%, 460px);
  height: auto;
  margin: 0 0 1.8rem;
  border-radius: 2px;
  box-shadow: 0 10px 32px rgba(18, 43, 40, 0.13);
}
.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.86rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 0.92rem;
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}
.button:hover { transform: translateY(-2px); }
.button svg { width: 19px; height: 19px; }
.button--primary { color: #fff; background: var(--green); }
.button--primary:hover { background: #106438; }
.button--outline { border-color: rgba(18, 43, 40, 0.42); color: var(--ink); background: transparent; }
.button--outline:hover { color: #fff; background: var(--ink); }

.live-section {
  min-height: 330px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding-top: 4rem;
  padding-bottom: 4rem;
  border-top: 1px solid var(--line);
}
.live-section__copy { max-width: 530px; }
.live-section h2, .sermons-section h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.3rem, 4vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.04;
}
.live-section__copy > p:not(.eyebrow), .sermons-section__copy > p:not(.eyebrow) {
  max-width: 450px;
  margin: 1.1rem 0 1.25rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--green);
  font-weight: 800;
  text-decoration: none;
}
.signal-art {
  width: min(310px, 38%);
  display: grid;
  place-items: center;
  padding: 0.5rem;
  border: 1px solid rgba(18, 43, 40, 0.1);
  border-radius: 7px;
  background: var(--paper);
  box-shadow: 0 16px 45px rgba(18, 43, 40, 0.09);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.signal-art:hover { transform: translateY(-4px); box-shadow: 0 22px 55px rgba(18, 43, 40, 0.15); }
.signal-art img { width: 100%; height: auto; }

.sermons-section { position: relative; overflow: hidden; color: #f6f4e9; background: var(--ink); }
.sermons-section__inner {
  position: relative;
  min-height: 480px;
  display: grid;
  grid-template-columns: minmax(210px, 0.72fr) 1.3fr;
  align-items: center;
  gap: clamp(3rem, 10vw, 9rem);
  padding-top: 5rem;
  padding-bottom: 5rem;
}
.sermons-section__portrait {
  width: min(260px, 100%);
  justify-self: center;
  padding: 11px;
  border: 1px solid rgba(226, 225, 195, 0.25);
  background: rgba(255, 255, 255, 0.04);
  transform: rotate(-2deg);
}
.sermons-section__portrait img { width: 100%; height: auto; filter: sepia(0.1); }
.sermons-section__copy { position: relative; z-index: 1; max-width: 590px; }
.sermons-section__copy .eyebrow { color: #a8d68b; }
.sermons-section h2 { color: #faf8ed; }
.sermons-section__copy > p:not(.eyebrow) { color: #d0d8ce; }
.sermons-section__number {
  position: absolute;
  right: -0.04em;
  bottom: -0.34em;
  color: rgba(255, 255, 255, 0.035);
  font-family: var(--serif);
  font-size: clamp(12rem, 28vw, 27rem);
  line-height: 1;
  pointer-events: none;
}

.site-footer {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem max(32px, calc((100% - 1160px) / 2));
  color: #e3e8df;
  background: #0b211e;
  font-size: 0.78rem;
}
.site-footer p { margin: 0; color: #aebdb3; }
.site-footer a { color: #edf3e9; text-decoration: none; }
.footer-brand { font-family: var(--serif); font-size: 1rem; font-weight: 700; }

/* Página de señal en vivo */
.live-main { padding-top: clamp(3.5rem, 7vw, 6.5rem); padding-bottom: 5rem; }
.live-intro { max-width: 760px; margin: 0 auto 2.25rem; text-align: center; }
.live-intro h1 { font-size: clamp(3.2rem, 7vw, 5.6rem); }
.live-intro > p:last-child { margin: 1rem 0 0; color: var(--muted); font-size: 1.07rem; line-height: 1.65; }
.radio-console {
  position: relative;
  width: min(800px, 100%);
  margin: 0 auto;
  padding: clamp(1.1rem, 3.2vw, 2.15rem);
  overflow: hidden;
  border: 7px solid #0c211f;
  border-radius: 27px;
  color: #eff0d9;
  background: linear-gradient(145deg, #1a3933 0%, #102b28 50%, #0b211e 100%);
  box-shadow: 0 24px 70px rgba(13, 36, 32, 0.28), inset 0 1px rgba(255,255,255,0.2), inset 0 -9px 14px rgba(0,0,0,0.28);
}
.radio-console::before {
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(238, 219, 160, 0.26);
  border-radius: 17px;
  content: "";
  pointer-events: none;
}
.radio-console__top, .radio-console__brand, .radio-console__status, .radio-console__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.radio-console__top { position: relative; z-index: 1; gap: 1rem; }
.radio-console__brand { justify-content: flex-start; gap: 0.8rem; }
.radio-console__badge {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(217, 234, 166, 0.6);
  border-radius: 50%;
  color: #c8ef9d;
  font-weight: 850;
  letter-spacing: -0.08em;
}
.radio-console__name { margin: 0; color: #fff9db; font-family: var(--serif); font-size: 1.16rem; font-weight: 700; }
.radio-console__subtitle { margin: 0.18rem 0 0; color: #aac7a6; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.17em; }
.radio-console__status { justify-content: flex-start; gap: 0.6rem; color: #d3dfc9; font-size: 0.76rem; }
.status-light { flex: 0 0 auto; background: #d39d39; box-shadow: 0 0 0 4px rgba(211, 157, 57, 0.13); }
.radio-console.is-playing .status-light { background: #9cf36f; box-shadow: 0 0 0 4px rgba(156, 243, 111, 0.13), 0 0 14px rgba(156, 243, 111, 0.72); }
.radio-console.is-loading .status-light { animation: pulse-light 1.1s ease-in-out infinite alternate; }
.radio-console__face {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(90px, 1fr) minmax(190px, 1.22fr) minmax(90px, 0.75fr);
  align-items: center;
  gap: clamp(1rem, 3vw, 2.15rem);
  margin: 1.5rem 0;
  padding: clamp(1rem, 3vw, 1.65rem);
  border: 1px solid #1d2520;
  border-radius: 13px;
  background: linear-gradient(180deg, #ded7b9 0%, #c7bd98 100%);
  box-shadow: inset 0 3px 8px rgba(37, 32, 19, 0.3), 0 1px rgba(255,255,255,0.22);
}
.speaker {
  min-width: 75px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 5px solid #725b3c;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #34413a 0 13%, #222d28 14% 17%, transparent 18%),
    repeating-radial-gradient(circle at center, #293530 0 2px, #4b5447 2.5px 4px, #26312c 4.5px 6px);
  box-shadow: inset 0 0 0 5px #8c704a, 0 4px 8px rgba(24, 26, 18, 0.22);
}
.speaker span { width: 30%; aspect-ratio: 1; border: 2px solid rgba(238, 214, 154, 0.75); border-radius: 50%; box-shadow: 0 0 0 5px rgba(12, 25, 21, 0.55); }
.speaker--small { width: 72%; min-width: 58px; justify-self: center; }
.tuner { padding: 0.35rem; text-align: center; }
.tuner__glass {
  position: relative;
  height: 55px;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  padding: 0.55rem 0.48rem 0.35rem;
  overflow: hidden;
  border: 4px solid #2e3a32;
  border-radius: 4px;
  background: linear-gradient(180deg, #1c332d, #14241f);
  box-shadow: inset 0 0 14px rgba(131, 222, 126, 0.23), 0 2px 3px rgba(255,255,255,0.5);
}
.tuner__tick { width: 1px; height: 9px; background: #a6bc82; }
.tuner__tick:nth-child(3n) { height: 15px; }
.tuner__needle { position: absolute; top: 2px; left: 58%; width: 2px; height: 42px; background: #efbd58; box-shadow: 0 0 7px rgba(239,189,88,0.55); }
.tuner__label { display: block; margin-top: 0.48rem; color: #24342c; font-size: 0.56rem; font-weight: 900; letter-spacing: 0.2em; }
.radio-console__controls { position: relative; z-index: 1; gap: 1rem; }
.play-button {
  min-height: 51px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.82rem 1.2rem;
  border: 2px solid #111d18;
  border-radius: 6px;
  color: #1a2b22;
  background: linear-gradient(#f0c96c, #dfa33a);
  box-shadow: 0 3px 0 #82612b, inset 0 1px rgba(255,255,255,0.6);
  font-weight: 850;
  cursor: pointer;
  transition: filter 150ms ease, transform 150ms ease;
}
.play-button:hover { filter: brightness(1.08); transform: translateY(-1px); }
.play-button:active { transform: translateY(1px); box-shadow: 0 1px 0 #82612b; }
.play-button svg { width: 21px; height: 21px; }
.volume-control { display: flex; align-items: center; gap: 0.68rem; color: #d4e1d5; }
.volume-control svg { width: 19px; height: 19px; }
.volume-control input { width: min(140px, 25vw); accent-color: #c7df99; cursor: pointer; }
.player-error { position: relative; z-index: 1; margin: 1.1rem 0 0; color: #ffe3b5; font-size: 0.9rem; line-height: 1.55; }
.stream-note { max-width: 800px; margin: 1rem auto 0; color: var(--muted); font-size: 0.88rem; line-height: 1.65; }
.stream-note a { color: var(--green); font-weight: 700; text-underline-offset: 0.15em; }
.live-original {
  width: min(760px, 100%);
  margin: clamp(3rem, 7vw, 5rem) auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 165px;
  align-items: center;
  gap: 2rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--line);
}
.live-original__image { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
.live-original__brand { display: grid; place-items: center; }
.live-original__brand img { width: min(100%, 145px); height: auto; }

@keyframes pulse-light { to { opacity: 0.45; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
@media (max-width: 850px) {
  .hero { min-height: 0; gap: 2.6rem; }
  .sermons-section__inner { gap: 3rem; }
}
@media (max-width: 680px) {
  .section-wrap, .site-header__inner { width: min(100% - 36px, 560px); }
  .site-header__inner { min-height: 68px; }
  .wordmark { gap: 0.55rem; font-size: 1.05rem; }
  .wordmark__monogram { width: 34px; height: 34px; font-size: 0.7rem; }
  .header-listen, .header-back { font-size: 0.78rem; }
  .hero { grid-template-columns: 1fr; gap: 2.7rem; padding-top: 2.5rem; padding-bottom: 3.6rem; }
  .hero__photo-wrap { width: calc(100% - 12px); }
  .hero__photo-wrap::before { inset: 12px -12px -12px 12px; }
  .hero__photo { aspect-ratio: 1.28; }
  .photo-caption { bottom: 12px; font-size: 0.62rem; }
  .hero__content { max-width: none; }
  .hero h1 { font-size: clamp(3.35rem, 14vw, 5rem); }
  .hero__description { margin: 1.1rem 0 1.35rem; }
  .hero__brand-art { width: 100%; margin-bottom: 1.35rem; }
  .live-section { min-height: 0; flex-direction: column; align-items: flex-start; gap: 1.7rem; padding-top: 3rem; padding-bottom: 3.2rem; }
  .live-section h2, .sermons-section h2 { font-size: clamp(2.45rem, 11vw, 3.7rem); }
  .signal-art { width: min(300px, 100%); align-self: center; }
  .sermons-section__inner { grid-template-columns: 110px 1fr; gap: 1.25rem; padding-top: 3.2rem; padding-bottom: 3.2rem; }
  .sermons-section__portrait { width: 100%; padding: 6px; }
  .sermons-section__copy > p:not(.eyebrow) { font-size: 0.91rem; }
  .sermons-section__number { font-size: 11rem; right: -0.1em; }
  .button { min-height: 48px; padding: 0.75rem 0.95rem; font-size: 0.84rem; }
  .site-footer { min-height: 0; flex-wrap: wrap; padding: 1.3rem 18px; font-size: 0.72rem; }
  .site-footer p { order: 3; width: 100%; }
  .live-main { padding-top: 3.2rem; padding-bottom: 3.3rem; }
  .live-intro { margin-bottom: 1.7rem; }
  .live-intro h1 { font-size: clamp(3rem, 14vw, 4.5rem); }
  .live-intro > p:last-child { font-size: 0.98rem; }
  .radio-console { border-width: 5px; border-radius: 20px; padding: 1rem; }
  .radio-console::before { inset: 5px; border-radius: 13px; }
  .radio-console__badge { width: 38px; height: 38px; font-size: 0.9rem; }
  .radio-console__name { font-size: 1rem; }
  .radio-console__subtitle { font-size: 0.54rem; }
  .radio-console__status { gap: 0.45rem; font-size: 0.68rem; }
  .radio-console__face { grid-template-columns: minmax(58px, 0.7fr) minmax(128px, 1.4fr) minmax(48px, 0.5fr); gap: 0.7rem; margin: 1.05rem 0; padding: 0.9rem 0.7rem; }
  .speaker { min-width: 48px; border-width: 3px; box-shadow: inset 0 0 0 3px #8c704a, 0 3px 6px rgba(24,26,18,0.2); }
  .speaker--small { min-width: 42px; }
  .tuner__glass { height: 47px; padding: 0.45rem 0.3rem 0.25rem; border-width: 3px; }
  .tuner__needle { height: 37px; }
  .tuner__label { font-size: 0.48rem; }
  .radio-console__controls { align-items: flex-start; flex-direction: column; }
  .play-button { width: 100%; min-height: 48px; }
  .volume-control { width: 100%; justify-content: flex-end; }
  .volume-control input { width: 130px; }
  .live-original { grid-template-columns: 1fr 95px; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; }
  .live-original__brand img { width: min(100%, 90px); }
}
@media (max-width: 390px) {
  .section-wrap, .site-header__inner { width: calc(100% - 28px); }
  .header-listen, .header-back { gap: 0.38rem; font-size: 0.72rem; }
  .wordmark { font-size: 0.96rem; }
  .sermons-section__inner { grid-template-columns: 86px 1fr; gap: 0.95rem; }
  .sermons-section h2 { font-size: 2.25rem; }
  .sermons-section__copy .button { width: 100%; text-align: center; }
  .radio-console__top { align-items: flex-start; flex-direction: column; }
  .radio-console__status { margin-left: 3px; }
}
