/* ==========================================================================
   NOTIESTILO.CSS - Corregido (Menú móvil jQuery + Más reseñas sin flotar)
   ========================================================================== */

:root {
  --bg-dark: #0d0e11;
  --bg-surface: #16181d;
  --bg-card: #1e2128;
  --bg-glass: rgba(22, 24, 29, 0.94);

  --brand-primary: #ff8800;     /* Naranja Rock */
  --brand-primary-hover: #ffa233;
  --brand-crimson: #990033;     /* Granate oscuro */
  --brand-cyan: #0088bb;        /* Azul eléctrico */

  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-accent: rgba(255, 136, 0, 0.45);

  --font-display: 'Audiowide', sans-serif;
  --font-heading: 'Montserrat', 'Monserrat', sans-serif;
  --font-body: 'Oswald', system-ui, -apple-system, sans-serif;
  --font-serif: 'Noto Serif', Georgia, serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.75);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  background-image: linear-gradient(to bottom, rgba(13, 14, 17, 0.88), rgba(13, 14, 17, 0.96)), url(../img/fondo-1.jpg);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   HEADER (inc/header.php)
   ========================================================================== */
.header {
  width: 100%;
  background: linear-gradient(135deg, rgba(153, 0, 51, 0.88) 0%, rgba(13, 14, 17, 0.95) 50%, rgba(0, 136, 187, 0.65) 100%);
  border-bottom: 2px solid var(--brand-primary);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.65);
  padding: 1rem;
}

.header header {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.header header h1 {
  display: none;
}

.header header .logo img {
  width: clamp(60px, 8vw, 110px);
  height: auto;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.6));
}

.header header .logo-letras img {
  max-height: 110px;
  width: auto;
  max-width: min(85vw, 650px);
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.6));
}

/* ==========================================================================
   NAVEGACIÓN PRINCIPAL (inc/nav.php)
   Compatible con jQuery slideToggle() en móvil y 1 línea en >= 768px
   ========================================================================== */
.smart-menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 92%;
  max-width: 500px;
  margin: 0.75rem auto;
  padding: 0.75rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--brand-primary);
  border-radius: var(--radius-sm);
  color: var(--brand-primary);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
  position: relative;
  z-index: 1002;
}

.smart-menu span {
  font-family: 'FontAwesome', sans-serif;
}

.nav {
  width: 100%;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  z-index: 1001;
}

.nav nav {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.5rem 1rem;
}

/* En móvil: oculto inicialmente, pero SIN !important para que jQuery .slideToggle()
   pueda poner style="display: block" al hacer clic en .smart-menu */
@media (max-width: 767.9px) {
  .nav nav ul,
  .nav #menu {
    display: none;
    width: 100%;
    padding: 0.25rem 0;
  }

  .nav nav ul.open,
  .nav #menu.open {
    display: block;
  }

  .nav nav ul li {
    display: block;
    width: 100%;
    margin-bottom: 0.45rem;
  }

  .nav nav ul li:last-child {
    margin-bottom: 0;
  }

  .nav nav ul li a {
    display: block;
    width: 100%;
    padding: 0.7rem 1rem;
    text-align: center;
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: var(--text-main);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
  }

  .nav nav ul li a:hover {
    background: var(--brand-primary);
    color: #000;
  }
}

/* En tablets y escritorio (>= 768px): barra fija en UNA SOLA LÍNEA */
@media (min-width: 768px) {
  .smart-menu {
    display: none !important;
  }

  .nav {
    position: sticky;
    top: 0;
  }

  .nav nav ul,
  .nav #menu {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: center;
    align-items: stretch;
    gap: 0.65rem;
    width: 100%;
  }

  .nav nav ul li {
    flex: 1 1 0;
    min-width: 0;
  }

  .nav nav ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0.65rem 0.5rem;
    text-align: center;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-main);
    font-family: var(--font-heading);
    font-size: clamp(0.8rem, 1.2vw, 0.95rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
  }

  .nav nav ul li a:hover {
    background: var(--brand-primary);
    color: #000;
    border-color: var(--brand-primary);
    box-shadow: 0 0 15px rgba(255, 136, 0, 0.4);
  }
}

/* ==========================================================================
   LAYOUT PRINCIPAL DE ARTÍCULO + ASIDES (.article)
   ========================================================================== */
.article {
  max-width: 1320px;
  width: 100%;
  margin: 1.5rem auto;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
  position: relative;
}

/* Garantiza que ningún hijo directo flote ni use position: absolute encima del texto */
.article > * {
  position: static !important;
  float: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

@media (min-width: 1100px) {
  .article {
    grid-template-columns: 240px minmax(0, 1fr) 240px;
  }
  .aside-izq { grid-column: 1; grid-row: 1; }
  .article article { grid-column: 2; grid-row: 1; }
  .aside-der { grid-column: 3; grid-row: 1; }
}

/* ==========================================================================
   ASIDES (BARRAS LATERALES)
   ========================================================================== */
aside {
  display: none;
}

@media (min-width: 1100px) {
  aside {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    width: 240px;
    padding: 1rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-top: 3px solid var(--brand-primary);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
  }
}

aside .logo-aside div img {
  width: 100%;
  border-radius: var(--radius-sm);
}

aside .destacado-aside div,
aside .noticia-aside div {
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  transition: var(--transition);
}

aside .destacado-aside:hover div,
aside .noticia-aside:hover div {
  border-color: var(--brand-primary);
  transform: translateY(-2px);
}

aside .destacado-aside div h4,
.noticia-aside div h4 {
  padding: 0.4rem;
  text-transform: uppercase;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  background: var(--brand-crimson);
  color: var(--brand-primary);
}

aside .destacado-aside div img,
aside .noticia-aside div img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

aside .destacado-aside div .aside-cartel {
  aspect-ratio: 3 / 4;
}

aside .destacado-aside div .aside-cover {
  aspect-ratio: 1 / 1;
}

aside .destacado-aside div p {
  padding: 0.5rem;
  text-transform: uppercase;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
}

aside .social {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

aside .social li a div {
  padding: 0.6rem 0;
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-sm);
  text-align: center;
}

aside .social li a div span {
  font-family: 'FontAwesome', sans-serif;
  font-size: 1.4rem;
  color: var(--brand-primary);
}

aside .social li a:hover div {
  background: var(--brand-primary);
}

aside .social li a:hover div span {
  color: #000;
}

/* Slider vertical del aside */
.tf_slider {
  width: 100%;
  height: 520px;
  position: relative;
  background: var(--bg-dark);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.tf_container {
  width: 100%;
  height: 100%;
  position: relative;
}

.tf_slide {
  position: absolute;
  inset: 0;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.tf_slide.active {
  visibility: visible;
  opacity: 1;
}

.tf_slide a div.slide-entrevistas,
.tf_slide a div.slide-review,
.tf_slide a div.slide-bio {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.5rem;
  text-align: center;
}

.tf_slide a div.slide-entrevistas { background: linear-gradient(180deg, var(--brand-crimson), var(--bg-card)); }
.tf_slide a div.slide-review { background: linear-gradient(180deg, #994d00, var(--bg-card)); }
.tf_slide a div.slide-bio { background: linear-gradient(180deg, #005577, var(--bg-card)); }

.tf_slide h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  padding: 0.35rem;
  background: rgba(0, 0, 0, 0.5);
  color: var(--brand-primary);
  border-radius: 4px;
}

.tf_slide .img-slider {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 4px;
}

.tf_slide a div.slide-review .img-slider {
  aspect-ratio: 1 / 1;
}

.tf_slide p {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
}

.tf_slide .name-band h5 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--brand-primary);
}

/* ==========================================================================
   CUERPO DE LA RESEÑA / NOTICIA (<article>)
   ========================================================================== */
.article article {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(1rem, 3vw, 2rem);
  box-shadow: var(--shadow-card);
  position: relative;
  z-index: 1;
}

.article article h2 {
  margin-bottom: 1.5rem;
  padding: 0.85rem 1.25rem;
  text-align: center;
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 3.2vw, 2.1rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1.3;
  color: var(--brand-primary);
  background: linear-gradient(90deg, transparent, rgba(153, 0, 51, 0.55), transparent);
  border-top: 2px solid var(--brand-crimson);
  border-bottom: 2px solid var(--brand-crimson);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}

/* Carátula + Tracklist (.img-noticia + .tracklist) */
.article article .img-noticia {
  margin: 1.5rem auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}

@media (min-width: 680px) {
  .article article .img-noticia:has(.tracklist) {
    flex-direction: row;
    align-items: stretch;
  }
}

.article article .img-noticia img {
  width: 100%;
  max-width: 640px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-accent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.75);
}

.article article .img-noticia .apaisada {
  width: 100%;
  max-width: 420px;
}

.article article .img-noticia .cover {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  flex-shrink: 0;
}

.tracklist {
  position: static !important;
  margin: 0 !important;
  width: 100%;
  max-width: 320px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}

.tracklist h4 {
  margin: 0;
  padding: 0.65rem 1rem;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: var(--brand-crimson);
  color: var(--brand-primary);
  border-bottom: 1px solid var(--border-accent);
}

.tracklist ul {
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  overflow-y: auto;
  max-height: 280px;
}

.tracklist ul li {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--brand-primary);
  font-weight: 700;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tracklist ul li:last-child {
  border-bottom: none;
}

.tracklist ul li span {
  font-style: italic;
  font-weight: 400;
  color: var(--text-main);
}

/* Texto de la reseña (<section>) */
section {
  margin: 1.5rem 0;
  padding: clamp(1rem, 2.5vw, 1.5rem);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--text-main);
}

section p {
  margin-bottom: 1.1rem;
  text-align: left;
}

section p:last-child {
  margin-bottom: 0;
}

section p .negrita,
.pista-pista li .negrita {
  font-weight: 700;
  color: #fff;
}

section p .cursiva,
.pista-pista li .cursiva {
  font-style: italic;
  color: var(--text-muted);
}

section a {
  color: var(--brand-primary);
  font-weight: 700;
  border-bottom: 1px dotted var(--brand-primary);
}

section a:hover {
  color: var(--brand-cyan);
  border-bottom-color: var(--brand-cyan);
}

/* Análisis Pista a Pista (.pista-pista) */
.pista-pista {
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.pista-pista li {
  padding: 1rem 1.25rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--brand-primary);
  border-radius: var(--radius-sm);
  line-height: 1.7;
  transition: var(--transition);
}

.pista-pista li:hover {
  border-color: var(--border-accent);
  background: rgba(255, 255, 255, 0.02);
}

.pista-pista li .titulo-pista {
  display: inline-block;
  margin-right: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  color: var(--brand-primary);
}

/* Pie de página del artículo (.pie-pagina) */
.pie-pagina {
  margin-top: 1.5rem;
  padding: 0.75rem 1.25rem;
  background: rgba(153, 0, 51, 0.35);
  border: 1px solid var(--border-subtle);
  border-top: 2px solid var(--brand-primary);
  border-radius: var(--radius-sm);
}

.pie-pagina ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.pie-pagina ul li {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-primary);
}

/* Sección de Vídeo (<section class="video-noticia">) */
section.video-noticia,
.video-noticia {
  margin: 1.5rem auto;
  padding: 0;
  width: 100%;
  max-width: 720px;
  aspect-ratio: 16 / 9;
  position: relative;
  background: #000;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-accent);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.75);
}

.video-noticia iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ==========================================================================
   BOTONES COMPARTIR (share-small.php y share-big.php)
   ========================================================================== */
.share-small {
  display: none !important;
}

.big-share {
  width: 100%;
  margin: 1.5rem 0 0.5rem;
}

.big-share ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}

.big-share ul li a div {
  width: 54px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: #fff;
  transition: var(--transition);
}

.big-share ul li a div span {
  font-family: 'FontAwesome', sans-serif;
  font-size: 1.3rem;
}

.big-share .big-face { background: #3c599f; }
.big-share .big-twitter { background: #00abdf; }
.big-share .big-plus { background: #df4f44; }
.big-share .big-tumblr { background: #29425b; }
.big-share .big-pinterest { background: #cb2027; }
.big-share .big-in { background: #0274b3; }

.big-share ul li a:hover div {
  transform: translateY(-3px);
  filter: brightness(1.15);
}

/* ==========================================================================
   MÁS RESEÑAS / ARTÍCULOS RELACIONADOS (inc/aleatorio/rand-review.php)
   Fijado en flujo normal (sin flotar) debajo del artículo en todos los tamaños
   ========================================================================== */

/* está oculto mirar línea 865 */
.mas-rand,
.art-aleatorio {
  position: static !important;
  float: none !important;
  clear: both !important;
  grid-column: 1 / -1;
  width: 100%;
  margin: 1rem 0 0 !important;
  padding: 1.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-top: 3px solid var(--brand-cyan);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  z-index: 1;
}

.mas-rand h3,
.art-aleatorio .tit-aleatorio {
  position: static !important;
  float: none !important;
  width: 100%;
  margin-bottom: 1.25rem;
  padding-bottom: 0.6rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  color: var(--brand-primary);
  border-bottom: 1px solid var(--border-subtle);
  text-transform: uppercase;
}

.mas-rand ul,
.art-aleatorio ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  height: auto !important;
}

@media (min-width: 768px) {
  .mas-rand ul,
  .art-aleatorio ul {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
}

.mas-rand ul li,
.art-aleatorio ul li {
  float: none !important;
  position: static !important;
}

.mas-rand ul li a {
  display: block;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid var(--border-subtle);
  transition: var(--transition);
}

.mas-rand ul li a img {
  width: 100%;
  height: auto !important;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.mas-rand ul li a:hover {
  border-color: var(--brand-primary);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(255, 136, 0, 0.25);
}

.art-aleatorio ul li a h4 {
  display: none;
}

.art-aleatorio ul li a div {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.art-aleatorio ul li a div img {
  width: 100%;
  height: auto !important;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.art-aleatorio ul li a div p {
  padding: 0.65rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  color: var(--text-main);
}

.art-aleatorio ul li a:hover div {
  border-color: var(--brand-primary);
  transform: translateY(-3px);
}

.art-aleatorio ul li a:hover div p {
  color: var(--brand-primary);
}

.mas-rand {
  display: none; /* oculto porque en dispositivos de más de 768px se muestra como flotante por encima del título y la carátula*/
}

/* ==========================================================================
   FOOTER (inc/footer.php)
   ========================================================================== */
footer {
  margin-top: auto;
  width: 100%;
  background: linear-gradient(180deg, var(--bg-surface) 0%, #07080a 100%);
  border-top: 2px solid var(--brand-crimson);
  color: var(--text-muted);
}

footer .divFoot {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  footer .divFoot {
    grid-template-columns: 1fr auto;
  }
  footer .divFoot .logoLetrasFoot,
  footer .divFoot .redesFoot {
    grid-column: 1 / -1;
  }
}

footer .divFoot .logoLetrasFoot a div {
  max-width: 420px;
  margin: 0 auto;
}

footer .divFoot .secFoot ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

footer .divFoot .secFoot ul li a div {
  width: 105px;
  padding: 1rem 0.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  text-align: center;
  color: var(--text-main);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

footer .divFoot .secFoot ul li a div span {
  font-family: 'FontAwesome', sans-serif;
  font-size: 1.8rem;
  color: var(--brand-primary);
}

footer .divFoot .secFoot ul li a:hover div {
  background: var(--brand-crimson);
  border-color: var(--brand-primary);
  transform: translateY(-3px);
}

footer .divFoot .redesFoot ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

footer .divFoot .redesFoot ul li a div {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-primary);
}

footer .divFoot .redesFoot ul li a div span {
  font-family: 'FontAwesome', sans-serif;
  font-size: 1.25rem;
}

footer .divFoot .redesFoot ul li a:hover div {
  background: var(--brand-primary);
  color: #000;
  transform: scale(1.1);
}

footer .divFoot .cajalcdr {
  display: none;
}

@media (min-width: 900px) {
  footer .divFoot .cajalcdr {
    display: flex;
    justify-content: center;
  }
  footer .divFoot .cajalcdr a img {
    width: 170px;
    transition: var(--transition);
  }
  footer .divFoot .cajalcdr a:hover img {
    transform: rotate(-4deg) scale(1.05);
  }
}

footer .copyright {
  width: 100%;
  padding: 1rem;
  background: #050608;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

footer .copyright h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* ==========================================================================
   BARRA DE COOKIES Y BOTÓN IR ARRIBA
   ========================================================================== */
#barracookies {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(22, 24, 29, 0.96);
  backdrop-filter: blur(10px);
  border-top: 2px solid var(--brand-primary);
  padding: 1rem;
  z-index: 10000;
}

#barracookies .inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-main);
}

@media (min-width: 768px) {
  #barracookies .inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

#barracookies .okcookie ul {
  display: flex;
  gap: 0.75rem;
}

#barracookies .okcookie ul li a div {
  padding: 0.5rem 1.25rem;
  background: var(--brand-primary);
  color: #000;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

#barracookies .okcookie ul li a:hover div {
  background: var(--brand-crimson);
  color: #fff;
}

.ir-arriba {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-primary);
  color: #000;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9000;
  transition: var(--transition);
}

.ir-arriba span {
  font-family: 'FontAwesome', sans-serif;
  font-size: 1.2rem;
}

.ir-arriba:hover {
  background: var(--brand-crimson);
  color: #fff;
  transform: translateY(-3px);
}