/* =========================================================================
   Corporación Sabor Mix S.C.R.L. — Tema de marca (front)
   Estilo retro/pop peruano. Bootstrap 5 + clases propias.
   ========================================================================= */

:root {
  --sm-amarillo: #FBD234;
  --sm-cian:     #0192D6;
  --sm-magenta:  #E71E63;
  --sm-negro:    #15161a;
  --sm-crema:    #FCF6DD;
  --sm-gris:     #5b5b52;
  /* Estilo "tosco": bordes rectos, sin sombras. */
  --sm-radius:   0;
  --sm-shadow:   none;
  --sm-borde:    #e4dcc0;
}

* { box-sizing: border-box; }

html, body { overflow-x: hidden; }

body {
  background-color: var(--sm-crema);
  background-image:
    radial-gradient(rgba(21, 22, 26, .08) 1px, transparent 1px),
    radial-gradient(rgba(21, 22, 26, .05) 1px, transparent 1px);
  background-size: 18px 18px, 8px 8px;
  background-position: 0 0, 4px 6px;
  color: var(--sm-negro);
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

main { flex: 1 0 auto; }

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
body::before {
  background: linear-gradient(90deg, rgba(21, 22, 26, .06) 0 16px, transparent 16px calc(100% - 16px), rgba(21, 22, 26, .06) calc(100% - 16px) 100%);
  opacity: .55;
}
body::after {
  background:
    repeating-linear-gradient(135deg, rgba(231, 30, 99, .05) 0 2px, transparent 2px 10px),
    repeating-linear-gradient(45deg, rgba(1, 146, 214, .04) 0 2px, transparent 2px 12px);
  opacity: .18;
}

a { color: var(--sm-cian); text-decoration: none; }
a:hover { color: var(--sm-magenta); }

h1, h2, h3, h4, h5, .sm-display {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -.01em;
}

/* Contenedor central del sitio (deja respirar las decoraciones laterales) */
.sm-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* =====================  DECORACIONES SVG LATERALES  ===================== */
.deco-left,
.deco-right {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 120px;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.deco-left {
  left: 0;
  background-image: url("../img/deco-left.svg");
}
.deco-right {
  right: 0;
  background-image: url("../img/deco-right.svg");
}

@media (max-width: 991px) {
  .deco-left, .deco-right { width: 36px; opacity: .95; }
}
@media (max-width: 575px) {
  .deco-left, .deco-right { display: none; }
}

/* Coloca el contenido por encima de las decoraciones */
.sm-page { position: relative; z-index: 2; }

/* Cuerpo del home: un panel aparte dentro del container */
.sm-home-canvas {
  position: relative;
  isolation: isolate;
  background: var(--sm-crema);
  border: 3px solid var(--sm-negro);
  outline: 1px solid rgba(21, 22, 26, .14);
  outline-offset: -8px;
  padding: 18px 18px 10px;
  overflow: hidden;
}
.sm-home-canvas::before,
.sm-home-canvas::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.sm-home-canvas::before {
  background:
    repeating-linear-gradient(90deg, rgba(231, 30, 99, .10) 0 6px, transparent 6px 14px),
    repeating-linear-gradient(180deg, rgba(251, 210, 52, .12) 0 4px, transparent 4px 18px);
  clip-path: polygon(0 0, 100% 0, 100% 88%, 96% 88%, 96% 100%, 0 100%);
  opacity: .18;
}
.sm-home-canvas::after {
  background:
    radial-gradient(circle at 6px 6px, rgba(21, 22, 26, .12) 0 2px, transparent 2px 100%) 0 0 / 22px 22px repeat,
    radial-gradient(circle at 6px 6px, rgba(21, 22, 26, .08) 0 2px, transparent 2px 100%) 11px 11px / 22px 22px repeat;
  opacity: .12;
}
.sm-home-canvas > .row {
  position: relative;
  z-index: 1;
}
.sm-home-canvas .sm-featured,
.sm-home-canvas .sm-card,
.sm-home-canvas .sm-prog-panel,
.sm-home-canvas .sm-videos {
  box-shadow: none;
}
.sm-home-canvas .sm-section-title {
  margin-top: 2px;
}

/* ===========================  HEADER  ============================= */
.sm-header {
  padding: 14px 0 10px;
  position: relative;
  z-index: 5;
}
.sm-header-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.1fr) 1.2fr minmax(280px, 1fr);
  gap: 18px;
  align-items: center;
}

/* Zona del logo, con fondo amarillo y borde rasgado a la derecha */
.sm-logo-zone {
  background: var(--sm-crema);
  border-radius: var(--sm-radius);
  padding: 14px 26px 14px 18px;
  position: relative;
  display: flex;
  align-items: center;
  -webkit-clip-path: polygon(0 0, 94% 0, 99% 12%, 95% 26%, 99% 40%, 95% 54%, 99% 68%, 95% 82%, 99% 96%, 96% 100%, 0 100%);
  clip-path: polygon(0 0, 94% 0, 99% 12%, 95% 26%, 99% 40%, 95% 54%, 99% 68%, 95% 82%, 99% 96%, 96% 100%, 0 100%);
  height: 100%;
}
.sm-logo-zone img {
  max-width: 100%;
  height: auto;
  max-height: 130px;
  object-fit: contain
}

/* Lema central */
.sm-lema {
  text-align: center;
  line-height: 1;
}
.sm-lema .sm-lema-radio {
  display: block;
  font-weight: 800;
  font-size: clamp(1.6rem, 3.4vw, 2.7rem);
  color: var(--sm-magenta);
  text-transform: none;
}
.sm-lema .sm-lema-script {
  display: inline-block;
  font-family: "Pacifico", "Caveat", cursive;
  font-weight: 400;
  font-size: clamp(1.4rem, 3vw, 2.3rem);
  color: var(--sm-magenta);
  position: relative;
  padding-bottom: 6px;
}
.sm-lema .sm-lema-script::after {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: -2px;
  height: 10px;
  background: no-repeat center / 100% 100%
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12'><path d='M2 8 C50 2 150 2 198 6' stroke='%23E71E63' stroke-width='3' fill='none' stroke-linecap='round'/></svg>");
}

/* Panel EN VIVO */
.sm-envivo {
  background: var(--sm-crema);
  border: 2px solid var(--sm-negro);
  border-radius: var(--sm-radius);
  box-shadow: var(--sm-shadow);
  overflow: hidden;
  position: relative;
}
.sm-envivo-tab {
  background: var(--sm-negro);
  color: #fff;
  font-weight: 800;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 5px 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.sm-envivo-tab .sm-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--sm-magenta);
  animation: sm-blink 1.4s steps(1, end) infinite;
}
@keyframes sm-blink {
  0%, 60%   { opacity: 1; }
  61%, 100% { opacity: .25; }
}
.sm-envivo-body {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px 12px;
}
.sm-envivo-icon {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--sm-amarillo);
  border: 2px solid var(--sm-negro);
  display: grid; place-items: center;
}
.sm-envivo-icon svg { width: 22px; height: 22px; }
.sm-envivo-text { flex: 1 1 auto; min-width: 0; }
.sm-envivo-label {
  font-size: .68rem; font-weight: 800; letter-spacing: .16em;
  color: var(--sm-cian); text-transform: uppercase;
}
.sm-envivo-title {
  font-size: 1.25rem; font-weight: 800; line-height: 1.05;
  color: var(--sm-negro); margin: 1px 0;
}
.sm-envivo-sub { font-size: .8rem; color: var(--sm-gris); line-height: 1.25; }
.sm-envivo-art { flex: 0 0 auto; }
.sm-envivo-art svg { width: 86px; height: auto; }

/* Barra ESCUCHAR AHORA */
.sm-escuchar {
  background: var(--sm-magenta);
  color: #fff;
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px;
  cursor: pointer;
  border: none;
  width: 100%;
  text-align: left;
}
.sm-escuchar:hover { background: #c81655; }
.sm-escuchar .sm-play-btn {
  width: 34px; height: 34px; border-radius: 50%;
  background: #fff; color: var(--sm-magenta);
  display: grid; place-items: center; flex: 0 0 auto;
  font-size: .9rem;
}
.sm-escuchar .sm-escuchar-label {
  font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: .85rem;
}

/* ============================  NAV  ============================== */
.sm-nav {
  background: var(--sm-negro);
  position: relative;
  z-index: 5;
}
.sm-nav-topbar {
  min-height: 64px;
}
.sm-nav .navbar-toggler {
  border-color: rgba(255,255,255,.4);
}
.sm-nav .navbar-toggler:focus {
  box-shadow: none;
}
.sm-nav .navbar-toggler-icon {
  filter: invert(1);
}
.sm-nav .navbar-collapse {
  justify-content: center;
}
.sm-nav-sheet {
  width: 100%;
}
.sm-nav .nav-link {
  color: #efe9d2 !important;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .82rem;
  padding: 14px 16px !important;
  position: relative;
}
.sm-nav .nav-link:hover { color: var(--sm-amarillo) !important; }
.sm-nav .nav-link.active {
  color: var(--sm-magenta) !important;
}
.sm-nav .nav-link.active::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 6px;
  height: 3px;
  background: var(--sm-magenta);
}
.sm-nav-backdrop {
  display: none;
}

@media (max-width: 991.98px) {
  .sm-nav {
    position: sticky;
    top: 0;
    z-index: 40;
  }
  .sm-nav .navbar-collapse {
    position: fixed;
    top: 0;
    right: auto;
    bottom: 0;
    left: 0;
    width: min(420px, calc(100vw - 24px));
    display: block !important;
    transform: translateX(-108%);
    opacity: 0;
    pointer-events: none;
    transition: transform .28s ease, opacity .22s ease;
    z-index: 42;
    padding: 14px 0 18px 14px;
  }
  .sm-nav .navbar-collapse.show,
  .sm-nav .navbar-collapse.collapsing {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }
  .sm-nav .navbar-collapse.collapsing {
    height: auto !important;
  }
  .sm-nav-sheet {
    background: #111114;
    border: 3px solid var(--sm-negro);
    min-height: calc(100dvh - 28px);
    padding: 22px 18px 18px;
    overflow-y: auto;
    box-shadow: none;
  }
  .sm-nav .navbar-nav {
    width: 100%;
    align-items: stretch;
    gap: 4px;
  }
  .sm-nav .nav-item {
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .sm-nav .nav-link {
    display: block;
    padding: 16px 12px !important;
    font-size: .92rem;
    letter-spacing: .08em;
  }
  .sm-nav .nav-link.active::after {
    left: 12px;
    right: auto;
    bottom: 8px;
    width: 48px;
  }
  .sm-nav .navbar-toggler {
    position: relative;
    z-index: 43;
  }
  .sm-nav.is-open .navbar-toggler {
    border-color: rgba(255,255,255,.85);
    background: rgba(255,255,255,.08);
  }
  .sm-nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    border: 0;
    background: rgba(0,0,0,.58);
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease;
    z-index: 41;
  }
  .sm-nav.is-open .sm-nav-backdrop {
    opacity: 1;
    pointer-events: auto;
  }
  body.sm-nav-open {
    overflow: hidden;
  }
}

/* ====================  TÍTULOS DE SECCIÓN  ====================== */
.sm-section-title {
  color: var(--sm-magenta);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 1.7rem;
  margin: 0 0 4px;
  position: relative;
  display: inline-block;
}
.sm-section-title::after {
  content: "";
  display: block;
  width: 46px; height: 5px;
  background: var(--sm-amarillo);
  margin-top: 6px;
}

/* ======================  TARJETAS DE NOTICIA  ================== */
.sm-badge-cat {
  display: inline-block;
  background: var(--sm-magenta);
  color: #fff;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 10px;
}
.sm-date {
  color: var(--sm-gris);
  font-size: .8rem;
  display: inline-flex; align-items: center; gap: 6px;
}
.sm-date svg { width: 14px; height: 14px; opacity: .8; }

/* Placeholder de color plano cuando no hay imagen */
.sm-img-ph {
  background: var(--sm-cian);
  position: relative;
}
.sm-img-ph::after {
  content: "SABOR MIX";
  position: absolute; inset: 0;
  display: grid; place-items: center;
  color: rgba(255,255,255,.55);
  font-weight: 800; letter-spacing: .2em; font-size: .9rem;
}

/* Noticia destacada (grande con overlay) */
.sm-featured {
  position: relative;
  border-radius: var(--sm-radius);
  overflow: hidden;
  box-shadow: var(--sm-shadow);
  display: block;
  aspect-ratio: 16 / 9;
}
.sm-featured img,
.sm-featured .sm-img-ph {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.sm-featured .sm-featured-overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 16px 22px 16px;
  background: rgba(13,13,18,.80);
}
.sm-featured .sm-badge-cat { position: absolute; top: 16px; left: 16px; }
.sm-featured h3 {
  color: #fff; font-size: clamp(1.25rem, 2.4vw, 1.9rem); font-weight: 800;
  margin: 8px 0 6px; line-height: 1.12;
}
.sm-featured .sm-date { color: #e6e6e0; }

/* Tarjeta pequeña de noticia */
.sm-card {
  background: #fff;
  border: 2px solid var(--sm-negro);
  overflow: hidden;
  height: 100%;
  display: flex; flex-direction: column;
}
.sm-card:hover { border-color: var(--sm-magenta); }
.sm-card .sm-card-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.sm-card .sm-card-thumb img,
.sm-card .sm-card-thumb .sm-img-ph {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.sm-card .sm-card-thumb .sm-badge-cat { position: absolute; top: 10px; left: 10px; }
.sm-card .sm-card-body {
  padding: 12px 14px 14px;
  display: flex; flex-direction: column; gap: 8px;
  flex: 1 1 auto;
}
.sm-card .sm-card-title {
  color: var(--sm-negro);
  font-weight: 800; font-size: 1rem; line-height: 1.2;
  margin: 0;
}
.sm-card .sm-card-title a { color: inherit; }
.sm-card .sm-card-title a:hover { color: var(--sm-magenta); }
.sm-card .sm-date { margin-top: auto; }

/* ===========================  BOTONES  ========================= */
.btn-sm-magenta {
  --bs-btn-color: #fff;
  background: var(--sm-magenta);
  color: #fff;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .82rem;
  border: none;
  padding: 11px 22px;
}
.btn-sm-magenta:hover { background: #c81655; color: #fff; }
.btn-sm-cian {
  background: var(--sm-cian);
  color: #fff; font-weight: 800; border: none;
  text-transform: uppercase; letter-spacing: .06em; font-size: .82rem; padding: 11px 22px;
}
.btn-sm-cian:hover { background: #0179b0; color: #fff; }
.btn-sm-amarillo {
  background: var(--sm-amarillo);
  color: var(--sm-negro);
  font-weight: 800; border: none;
  text-transform: uppercase; letter-spacing: .06em; font-size: .82rem; padding: 11px 22px;
}
.btn-sm-amarillo:hover { background: #e9bf19; color: var(--sm-negro); }
.btn-sm-outline {
  background: transparent;
  color: var(--sm-negro);
  font-weight: 800;
  border: 2px solid var(--sm-negro);
  text-transform: uppercase; letter-spacing: .06em; font-size: .82rem; padding: 9px 18px;
}
.btn-sm-outline:hover { background: var(--sm-negro); color: #fff; }

/* ====================  PANEL PROGRAMACIÓN  ===================== */
.sm-prog-panel {
  background: #fff;
  border: 2px solid var(--sm-negro);
  overflow: hidden;
}
.sm-prog-list { list-style: none; margin: 0; padding: 0; }
.sm-prog-row {
  display: flex; align-items: stretch; gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid #eee4c4;
  position: relative;
}
.sm-prog-row:last-child { border-bottom: none; }
.sm-prog-time {
  flex: 0 0 60px;
  text-align: center;
  line-height: 1.1;
  align-self: center;
}
.sm-prog-time .ini { font-weight: 800; color: var(--sm-negro); font-size: .92rem; }
.sm-prog-time .fin { font-weight: 700; color: var(--sm-magenta); font-size: .78rem; }
.sm-prog-info { flex: 1 1 auto; min-width: 0; }
.sm-prog-info .nombre {
  font-weight: 800; color: var(--sm-magenta); font-size: .98rem; line-height: 1.15;
  display: flex; align-items: center; gap: 6px;
}
.sm-prog-info .desc { color: var(--sm-gris); font-size: .82rem; line-height: 1.3; }
.sm-prog-info .meta { color: var(--sm-gris); font-size: .74rem; }

/* Programa al aire: banda amarilla */
.sm-prog-row.is-live {
  background: var(--sm-amarillo);
}
.sm-prog-row.is-live .sm-prog-time .fin { color: var(--sm-negro); }
.sm-prog-row.is-live .sm-prog-info .nombre { color: var(--sm-negro); }
.sm-prog-row.is-live .sm-prog-info .desc { color: #5c4b00; }
.sm-prog-live-marker {
  color: var(--sm-negro);
  font-size: .8rem;
}

/* ============================  FOOTER  ========================= */
.sm-footer {
  background: var(--sm-negro);
  color: #d8d2bc;
  padding: 40px 0 0;
  position: relative;
  z-index: 5;
  margin-top: 48px;
}
.sm-footer h5 {
  color: #fff; text-transform: uppercase; letter-spacing: .1em;
  font-size: .9rem; margin-bottom: 14px;
}
.sm-footer a { color: #d8d2bc; }
.sm-footer a:hover { color: var(--sm-amarillo); }
.sm-footer .sm-foot-logo { max-width: 200px; height: auto; }
.sm-foot-contact li { display: flex; gap: 8px; margin-bottom: 8px; font-size: .9rem; }
.sm-foot-contact svg { width: 16px; height: 16px; flex: 0 0 16px; margin-top: 3px; fill: var(--sm-amarillo); }
.sm-social { display: flex; gap: 10px; }
.sm-social a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.08);
  display: grid; place-items: center;
}
.sm-social a:hover { background: var(--sm-magenta); }
.sm-social svg { width: 18px; height: 18px; fill: #fff; }
.sm-copy {
  margin-top: 30px;
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 16px 0;
  text-align: center;
  font-size: .82rem;
  color: #b3ad97;
}

/* =====================  REPRODUCTOR FIJO  ===================== */
.sm-player {
  position: fixed; left: 0; right: 0; bottom: 0;
  background: var(--sm-negro);
  color: #fff;
  z-index: 1000;
  display: none;
  padding: 8px 14px;
  border-top: 3px solid var(--sm-magenta);
}
.sm-player.is-open { display: block; }
.sm-player .sm-player-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; gap: 12px;
}
.sm-player .sm-player-title { font-weight: 800; font-size: .9rem; }
.sm-player .sm-player-sub { font-size: .78rem; color: #c9c3ad; }
.sm-player audio { flex: 1 1 auto; min-width: 0; height: 36px; }
.sm-player .btn-close-player {
  background: transparent; border: none; color: #fff; font-size: 1.2rem; cursor: pointer;
}

.sm-player {
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background:
    linear-gradient(90deg, rgba(231, 30, 99, .16), transparent 34%),
    var(--sm-negro);
  box-shadow: 0 -8px 28px rgba(0,0,0,.24);
}
.sm-player .sm-player-inner {
  max-width: 1120px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto auto auto;
  gap: 12px;
}
.sm-player-art {
  width: 58px;
  height: 58px;
  border: 2px solid #fff;
  background: #fff;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.sm-player-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sm-player-kicker {
  color: var(--sm-amarillo);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.sm-player-kicker .sm-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sm-magenta);
  animation: sm-blink 1.4s steps(1, end) infinite;
}
.sm-player .sm-player-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sm-player .sm-player-sub {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sm-player-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  color: #efe9d2;
  font-size: .72rem;
  font-weight: 800;
}
.sm-player-meta span {
  border: 1px solid rgba(255,255,255,.25);
  padding: 4px 8px;
  white-space: nowrap;
}
.sm-player.is-hls-stream .sm-player-meta {
  display: none;
}
.sm-player audio {
  display: none;
}
.sm-player-main {
  width: 46px;
  height: 46px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--sm-amarillo);
  color: var(--sm-negro);
  display: grid;
  place-items: center;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}
.sm-player-main:hover {
  background: #fff;
}
.sm-player .btn-close-player {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.35);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  line-height: 1;
}
.sm-player.is-loading .sm-player-main {
  animation: sm-player-pulse .8s ease-in-out infinite alternate;
}
.sm-escuchar.is-playing,
.sm-escuchar.is-loading {
  background: var(--sm-cian);
}
.sm-escuchar.is-playing:hover,
.sm-escuchar.is-loading:hover {
  background: #0179b0;
}
.sm-escuchar.is-playing .sm-play-btn,
.sm-escuchar.is-loading .sm-play-btn {
  color: var(--sm-cian);
}
.sm-toast {
  position: fixed;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom));
  transform: translateX(-50%) translateY(8px);
  background: var(--sm-negro);
  color: #fff;
  padding: 12px 18px;
  border: 2px solid var(--sm-amarillo);
  font-weight: 800;
  font-size: .86rem;
  z-index: 2000;
  opacity: 0;
  transition: opacity .2s ease, transform .2s ease;
  max-width: min(92vw, 460px);
  text-align: center;
}
.sm-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
@keyframes sm-player-pulse {
  from { transform: scale(1); }
  to { transform: scale(1.05); }
}

@media (max-width: 767.98px) {
  .sm-player {
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 3px solid var(--sm-negro);
    padding: 8px;
  }
  .sm-player .sm-player-inner {
    grid-template-columns: 48px minmax(0, 1fr) 42px 34px;
    gap: 9px;
  }
  .sm-player-art {
    width: 48px;
    height: 48px;
  }
  .sm-player-meta {
    grid-column: 2 / -1;
    justify-content: flex-start;
    order: 5;
  }
  .sm-player-main {
    width: 42px;
    height: 42px;
  }
  .sm-player .btn-close-player {
    width: 34px;
    height: 34px;
  }
}

/* ==========================  GALERÍA  ========================= */
.sm-gallery-item {
  display: block;
  border: 2px solid var(--sm-negro);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 3;
  cursor: pointer;
}
.sm-gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sm-gallery-item:hover { border-color: var(--sm-magenta); }
.sm-gallery-item .sm-gallery-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 10px 12px;
  background: rgba(13,13,18,.80);
  color: #fff; font-weight: 700; font-size: .85rem;
}

/* Lightbox / visor de fotos */
.sm-lightbox-modal .modal-dialog {
  max-width: min(1200px, calc(100vw - 24px));
  height: calc(100vh - 24px);
  height: calc(100dvh - 24px);
  margin: 12px auto;
}
.sm-lightbox-content {
  background: #000;
  border: 3px solid var(--sm-negro);
  border-radius: 0;
  color: #fff;
  box-shadow: none;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.sm-lightbox-modal .modal-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}
.sm-lightbox-carousel {
  background: #000;
  height: 100%;
  overflow: hidden;
  position: relative;
}
.sm-lightbox-carousel .carousel-inner {
  height: 100%;
  overflow: hidden;
}
.sm-lightbox-slide {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  user-select: none;
}
.sm-lightbox-carousel .carousel-item {
  height: 100%;
  display: none;
}
.sm-lightbox-carousel .carousel-item.active {
  display: flex;
}
.sm-lightbox-carousel .carousel-item-next,
.sm-lightbox-carousel .carousel-item-prev {
  display: none;
}
.sm-lightbox-stage {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  touch-action: none;
  cursor: default;
}
.sm-lightbox-stage.is-dragging {
  cursor: grabbing;
}
.sm-lightbox-stage.is-zoomed {
  cursor: grab;
}
.sm-lightbox-image {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transform-origin: center center;
  will-change: transform;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
  transition: transform .12s ease;
}
.sm-lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 6;
  width: 42px;
  height: 42px;
  border: 2px solid rgba(255,255,255,.8);
  border-radius: 0;
  background-color: rgba(0,0,0,.48);
  box-shadow: none;
}
.sm-lightbox-control {
  width: 11%;
  min-width: 52px;
  opacity: 1;
  z-index: 5;
}
.sm-lightbox-control:hover {
  opacity: 1;
}
.sm-lightbox-control .carousel-control-prev-icon,
.sm-lightbox-control .carousel-control-next-icon {
  background-color: rgba(0,0,0,.4);
  background-size: 1.2rem 1.2rem;
  border: 2px solid rgba(255,255,255,.65);
  padding: 22px;
}
@media (max-width: 767.98px) {
  .sm-lightbox-modal .modal-dialog {
    max-width: calc(100vw - 12px);
    height: calc(100vh - 12px);
    height: calc(100dvh - 12px);
    margin: 6px auto;
  }
  .sm-lightbox-close {
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
  }
  .sm-lightbox-control {
    width: 18%;
  }
}

/* Tarjetas de álbum (cada álbum agrupa varias fotos) */
.sm-album-card { display: block; }
.sm-album-thumb {
  display: block;
  border: 2px solid var(--sm-negro);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 3;
}
.sm-album-thumb img,
.sm-album-thumb .sm-img-ph { width: 100%; height: 100%; object-fit: cover; display: block; }
.sm-album-card:hover .sm-album-thumb { border-color: var(--sm-magenta); }
.sm-album-count {
  position: absolute; top: 8px; right: 8px;
  background: var(--sm-magenta);
  color: #fff; font-weight: 800; font-size: .72rem;
  text-transform: uppercase; letter-spacing: .04em;
  padding: 4px 8px;
}
.sm-album-title {
  display: block;
  margin-top: 8px;
  color: var(--sm-negro);
  font-weight: 800; font-size: .98rem; line-height: 1.2;
}
.sm-album-card:hover .sm-album-title { color: var(--sm-magenta); }

/* ====================  ARTÍCULO / CONTENIDO  ================= */
.sm-news-article {
  background: #fffdf4;
  border: 2px solid var(--sm-negro);
  padding: 20px 22px 24px;
}
.sm-news-back {
  margin-bottom: 14px;
}
.sm-news-back a {
  color: var(--sm-gris);
  font-weight: 700;
}
.sm-news-back a:hover {
  color: var(--sm-magenta);
}
.sm-news-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-bottom: 12px;
}
.sm-news-title {
  font-size: clamp(1.85rem, 4vw, 3rem);
  line-height: 1.03;
  margin: 0 0 14px;
  color: var(--sm-negro);
  text-wrap: balance;
}
.sm-news-summary {
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--sm-gris);
  margin: 0 0 18px;
  padding-left: 14px;
  border-left: 4px solid var(--sm-amarillo);
}
.sm-news-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 0 0 18px;
}
.sm-news-share-label {
  font-weight: 800;
  color: var(--sm-negro);
  margin-right: 4px;
}
.sm-article-hero {
  border-radius: var(--sm-radius);
  overflow: hidden;
  box-shadow: none;
  max-height: 460px;
}
.sm-article-hero img { width: 100%; height: auto; display: block; }
.sm-news-hero {
  border: 2px solid var(--sm-negro);
  max-height: none;
  margin-bottom: 20px;
}
.sm-article-body { font-size: 1.05rem; color: #2c2c28; }
.sm-article-body p { margin-bottom: 1.1rem; }
.sm-article-body h3 { color: var(--sm-negro); margin: 1.6rem 0 .7rem; }
.sm-article-body img { max-width: 100%; height: auto; }
.sm-news-body {
  font-size: 1.08rem;
  line-height: 1.78;
}
.sm-news-body > *:first-child {
  margin-top: 0;
}
.sm-news-body blockquote {
  border-left: 4px solid var(--sm-cian);
  margin: 1.4rem 0;
  padding: .2rem 0 .2rem 1rem;
  color: #3c3c35;
}
.sm-news-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 2px solid #eadfb7;
}
.sm-news-nav-card {
  display: grid;
  grid-template-columns: 1fr 96px;
  gap: 12px;
  align-items: center;
  border: 2px solid var(--sm-negro);
  background: #fff;
  color: var(--sm-negro);
  padding: 14px;
  min-height: 112px;
}
.sm-news-nav-card:hover {
  color: var(--sm-magenta);
  border-color: var(--sm-magenta);
}
.sm-news-nav-copy {
  display: block;
  min-width: 0;
}
.sm-news-nav-card.is-next {
  text-align: right;
}
.sm-news-nav-card.is-next .sm-news-nav-thumb {
  order: -1;
}
.sm-news-nav-label {
  display: block;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sm-cian);
  margin-bottom: 8px;
}
.sm-news-nav-title {
  display: block;
  font-weight: 800;
  line-height: 1.25;
}
.sm-news-nav-thumb {
  width: 96px;
  height: 80px;
  overflow: hidden;
  border: 2px solid var(--sm-negro);
}
.sm-news-nav-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sm-news-aside {
  position: sticky;
  top: 20px;
  background: #fffdf4;
  border: 2px solid var(--sm-negro);
  padding: 18px 18px 16px;
}
.sm-news-recent-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sm-news-recent-item {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 12px;
  color: var(--sm-negro);
  align-items: start;
}
.sm-news-recent-item:hover .sm-news-recent-title {
  color: var(--sm-magenta);
}
.sm-news-recent-thumb {
  width: 104px;
  height: 78px;
  overflow: hidden;
  border: 2px solid var(--sm-negro);
  background: #fff;
}
.sm-news-recent-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sm-news-recent-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sm-news-recent-cat {
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--sm-cian);
}
.sm-news-recent-title {
  font-weight: 800;
  line-height: 1.22;
}
.sm-news-recent-date {
  color: var(--sm-gris);
  font-size: .84rem;
}

.sm-prose { color: #2c2c28; font-size: 1.05rem; }
.sm-prose h3 { color: var(--sm-magenta); margin: 1.5rem 0 .6rem; }
.sm-prose p { margin-bottom: 1.05rem; }

/* ====================  TARJETA / FORM CONTACTO  ============== */
.sm-panel {
  background: #fff;
  border: 2px solid var(--sm-negro);
  padding: 24px;
}
.sm-form-label { font-weight: 700; font-size: .85rem; color: var(--sm-negro); }
.sm-form-control {
  border: 2px solid var(--sm-borde);
  padding: 10px 14px;
  width: 100%;
  font-size: .95rem;
  background: #fffdf4;
}
.sm-form-control:focus {
  outline: none;
  border-color: var(--sm-cian);
}
.sm-contact-info li { display: flex; gap: 12px; margin-bottom: 16px; align-items: flex-start; }
.sm-contact-ic {
  flex: 0 0 40px; width: 40px; height: 40px;
  background: var(--sm-amarillo); display: grid; place-items: center;
}
.sm-contact-ic svg { width: 18px; height: 18px; fill: var(--sm-negro); }

/* ==========================  PÁGINA HEADING  ================= */
.sm-page-head {
  text-align: center;
  padding: 26px 0 8px;
}
.sm-page-head h1 {
  color: var(--sm-magenta);
  text-transform: uppercase;
  letter-spacing: .03em;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}
.sm-page-head .sm-underline {
  width: 70px; height: 6px; background: var(--sm-amarillo);
  margin: 8px auto 0;
}

/* ==========================  PAGINACIÓN  ===================== */
.sm-pager .page-link {
  color: var(--sm-negro); font-weight: 700; border: none; margin: 0 3px;
}
.sm-pager .page-item.active .page-link {
  background: var(--sm-magenta); color: #fff;
}
.sm-pager .page-link:hover { background: var(--sm-amarillo); color: var(--sm-negro); }

/* ==========================  RESPONSIVE  ==================== */
@media (max-width: 991px) {
  .sm-header-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 14px;
  }
  .sm-logo-zone {
    justify-content: center;
    -webkit-clip-path: none;
    clip-path: none;
  }
  .sm-envivo { text-align: left; max-width: 420px; margin: 0 auto; width: 100%; }
}

@media (max-width: 767.98px) {
  .sm-header {
    padding: 10px 0 8px;
  }
  .sm-shell {
    padding-left: 12px;
    padding-right: 12px;
  }
  .sm-logo-zone {
    padding: 8px 14px;
  }
  .sm-logo-zone img {
    max-height: 96px;
  }
  .sm-lema .sm-lema-radio {
    font-size: 1.75rem;
  }
  .sm-lema .sm-lema-script {
    font-size: 1.45rem;
  }
  .sm-envivo {
    max-width: 100%;
  }
  .sm-envivo-body {
    padding: 9px 10px 10px;
    gap: 9px;
  }
  .sm-envivo-icon {
    width: 38px;
    height: 38px;
  }
  .sm-envivo-title {
    font-size: 1.06rem;
  }
  .sm-envivo-sub {
    font-size: .76rem;
  }
  .sm-envivo-art {
    display: none;
  }
  .sm-escuchar {
    min-height: 48px;
  }
  .sm-escuchar .sm-escuchar-label {
    font-size: .78rem;
    letter-spacing: .08em;
  }
}

@media (max-width: 767.98px) {
  .sm-news-article {
    border-left: none;
    border-right: none;
    margin-left: -16px;
    margin-right: -16px;
    padding: 18px 16px 22px;
  }
  .sm-news-title {
    font-size: clamp(1.6rem, 7vw, 2.15rem);
  }
  .sm-news-summary {
    font-size: 1rem;
    padding-left: 12px;
  }
  .sm-news-share {
    gap: 8px;
  }
  .sm-news-share-label {
    width: 100%;
    margin-right: 0;
  }
  .sm-news-share .btn {
    flex: 1 1 calc(50% - 8px);
  }
  .sm-news-nav {
    grid-template-columns: 1fr;
  }
  .sm-news-nav-card,
  .sm-news-nav-card.is-next {
    grid-template-columns: 88px 1fr;
    text-align: left;
  }
  .sm-news-nav-card.is-next .sm-news-nav-thumb {
    order: 0;
  }
  .sm-news-nav-thumb {
    width: 88px;
    height: 74px;
  }
}

/* ============================  VIDEOS (estilo 3D)  ============================ */
.sm-videos {
  background: var(--sm-crema);
  border: 3px solid var(--sm-negro);
}
.sm-videos-head {
  background: var(--sm-magenta);
  color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 18px;
}
.sm-videos-title {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: 1.2rem;
}
.sm-videos-title svg { width: 22px; height: 22px; fill: #fff; }
.sm-yt-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--sm-negro); color: #fff;
  font-weight: 800; font-size: .78rem; letter-spacing: .06em;
  padding: 5px 10px; border: 2px solid #fff;
}
.sm-yt-badge svg { width: 22px; height: 16px; }
.sm-videos-body { padding: 22px 18px; }

/* Tarjeta con borde "3D" (desplazamiento duro, sin difuminar) */
.sm-video-card {
  display: block;
  background: #000;
  border: 3px solid var(--sm-cian);
  height: 100%;
  color: #fff;
  text-decoration: none;
}
.sm-video-card:hover { color: #fff; border-color: var(--sm-magenta); }
.sm-video-tab {
  background: var(--sm-cian); color: #fff;
  font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .74rem;
  padding: 5px 12px; display: flex; align-items: center; gap: 7px;
}
.sm-video-tri { font-size: .7rem; }
.sm-video-thumb {
  position: relative; display: block; width: 100%;
  border: none; padding: 0; margin: 0; cursor: pointer;
  aspect-ratio: 16 / 9;
  background-size: cover; background-position: center; background-color: #111;
  color: #fff; text-align: left;
}
.sm-video-thumb::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.30); }
.sm-video-play { position: absolute; top: 44%; left: 50%; transform: translate(-50%, -50%); z-index: 2; }
.sm-video-play svg { display: block; }
.sm-video-thumb:hover .sm-video-play { transform: translate(-50%, -50%) scale(1.08); }
.sm-video-meta { position: absolute; left: 0; right: 0; bottom: 28px; z-index: 2; padding: 0 12px; }
.sm-video-name {
  display: block; font-weight: 800; font-size: 1rem; line-height: 1.15;
  text-shadow: 0 1px 3px rgba(0,0,0,.95);
}
.sm-video-sub {
  display: block; font-size: .74rem; color: #e2e2e2;
  text-transform: uppercase; letter-spacing: .04em; text-shadow: 0 1px 3px rgba(0,0,0,.95);
}
.sm-video-watch {
  position: absolute; right: 10px; bottom: 8px; z-index: 2;
  font-size: .72rem; color: #fff; display: inline-flex; gap: 5px; align-items: center;
  text-shadow: 0 1px 3px rgba(0,0,0,.95);
}
.sm-video-watch-yt { color: #ff2b2b; font-weight: 800; }

@media (max-width: 575px) {
  .sm-video-card { border-width: 2px; }
}

/* ====================  VISTA DE VIDEO (watch tipo YouTube)  ==================== */
.sm-watch-player { border: 3px solid var(--sm-negro); background: #000; }
.sm-watch-title { font-size: clamp(1.3rem, 2.4vw, 1.9rem); font-weight: 800; margin: 16px 0 4px; color: var(--sm-negro); }
.sm-watch-sub { color: var(--sm-magenta); font-weight: 700; margin: 0 0 10px; }

/* ====================  BANNER / CARRUSEL DEL HOME  ==================== */
.sm-banner-frame {
  position: relative;
  background: var(--sm-crema);
  border: 3px solid var(--sm-negro);
  outline: 1px solid rgba(21, 22, 26, .16);
  outline-offset: -8px;
  padding: 10px;
}
.sm-banner {
  border: 3px solid var(--sm-negro);
  background: var(--sm-negro);
  overflow: hidden;
}
.sm-banner-slide { position: relative; }
.sm-banner-img {
  display: block;
  width: 100%;
  height: clamp(220px, 38vw, 460px);
  object-fit: cover;
}
.sm-banner-caption {
  position: absolute;
  left: 0; bottom: 0;
  max-width: 660px;
  padding: 18px 26px 20px;
  background: rgba(13,13,18,.80);
  text-align: left;
}
.sm-banner-title {
  color: #fff;
  font-weight: 800;
  font-size: clamp(1.3rem, 2.8vw, 2.3rem);
  line-height: 1.1;
  margin: 0 0 8px;
}
.sm-banner-sub {
  color: #e6e6e0;
  font-size: clamp(.9rem, 1.4vw, 1.05rem);
  line-height: 1.3;
  margin: 0 0 14px;
}

/* Indicadores y controles en colores de marca (planos, sin radius) */
.sm-banner .carousel-indicators { margin-bottom: .6rem; }
.sm-banner .carousel-indicators [data-bs-target] {
  width: 34px; height: 5px;
  border: none; border-radius: 0;
  background-color: rgba(255,255,255,.55);
  opacity: 1;
}
.sm-banner .carousel-indicators .active { background-color: var(--sm-magenta); }
.sm-banner .carousel-control-prev-icon,
.sm-banner .carousel-control-next-icon {
  background-color: var(--sm-magenta);
  background-size: 55%;
  width: 44px; height: 44px;
}

@media (max-width: 575.98px) {
  .sm-banner-caption { max-width: 100%; right: 0; padding: 12px 16px 14px; }
  .sm-banner-sub { display: none; }
}
