body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* -----------------------------MENÚ DESPLEGABLE----------------------------- */
.menu-desplegable {
    display: none;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.95);
    padding: 15px;
    border-radius: 10px;
    min-width: 200px;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(255,255,255,0.1);
}

.menu-desplegable.visible {
    display: block;
}

.menu-desplegable ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-desplegable li {
    margin: 15px 0;
}

.menu-desplegable a {
    color: #f5f5f5;
    text-decoration: none;
    font-family: 'Lora', serif;
    font-size: 1.3em;
    letter-spacing: 1px;
    display: inline-block;
    transition: color 0.25s ease, transform 0.2s ease;
}

.menu-desplegable a:hover {
    color: #fff8dc;
    transform: scale(1.06);
}

/* -----------------------------SUBMENÚ----------------------------- */
.submenu-lista {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(0,0,0,0.9);
    border-radius: 12px;
    padding: 2px 15px;
    min-width: 180px;
    list-style: none;
    z-index: 50;
}

.submenu-lista.activo {
    display: block;
}

/* Ocultar artistas */
.submenu .artista {
    display: none !important;
}

/* -----------------------------FOOTER----------------------------- */ 
footer {
    background-color: rgba(0,0,0,0.85);
    padding: 20px 10px;
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

footer, footer * {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    line-height: 1.4;
    text-align: center;
    color: #f0f0f0;
    margin: 0;
}

footer a {
    text-decoration: none;
    font-style: italic;
    color: #f0f0f0;
    transition: color 0.3s ease;
}

footer a:hover { 
    text-decoration: underline; 
    color: #f0f0f0
} 

/* -----------------------------COOKIES----------------------------- */ 
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #2b2b2b;
    padding: 14px 20px;        /* antes 20px */
    display: none;
    box-shadow: 0 -3px 10px rgba(0,0,0,0.3);
    font-size: 0.95em;        /* un poco más sutil */
    z-index: 9999;
}

.cookie-banner .cookie-content {
    max-width: 1000px;        /* evita línea infinita */
    margin: 0 auto;
}

.cookie-banner p {
    margin: 0 0 10px 0;
    line-height: 1.45;
    color: #e6e6e6;
}

.cookie-banner a {
    color: #cfcfcf;
    text-decoration: underline;
}

.cookie-banner a:hover {
    color: #ffffff;
}
    
.cookie-banner[role="dialog"] { 
    outline: none; 
} 
.cookie-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.cookie-buttons button {
    font-size: 0.85em;
    padding: 6px 14px;
    border-radius: 6px;
    cursor: pointer;
    background: transparent;
    color: #f0f0f0;
    border: 1px solid #777;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.cookie-buttons .btn-aceptar {
    border-color: #e6e6e6;
    font-weight: 500;
}

.cookie-buttons .btn-aceptar:hover {
    background-color: rgba(255,255,255,0.1);
}

.cookie-buttons .btn-rechazar {
    opacity: 0.75;
}

.cookie-buttons .btn-rechazar:hover {
    opacity: 1;
}

/* -----------------------------COOKIES----------------------------- */ 
@media (max-width: 480px) {
  .menu {
    padding: 0.6rem 0.8rem;
  }

  .menu-desplegable {
    min-width: 160px;
    padding: 10px;
  }

  .cookie-banner {
    padding: 14px;
    font-size: 0.9em;
  }

  .cookie-buttons {
    flex-direction: column;
    gap: 10px;
  }

  /* -------- TABLETS -------- */
@media (min-width: 481px) and (max-width: 1024px) {

  /* -------- HOME -------- */
  .home .instagram-btn svg {
    width: 20px;
    height: 20px;
  }

  .home .contenido {
    width: 70%;
    padding-left: 24px;
    padding-right: 24px;
  }

  .home h1 {
    font-size: 1.9rem;
    margin-bottom: 0.8rem;
  }

  .home h1 + h2 {
    margin-top: 0.6rem;
  }

  .home .contenido p {
    font-size: 1.05rem;
    line-height: 1.6;
    letter-spacing: 0.25px;
    hyphens: auto;
    overflow-wrap: break-word;
  }

  .home h2 {
    font-size: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
  }

  .home .guia-sitio h2 {
    font-size: 1.1rem;
  }

  .home .guia-sitio p {
    font-size: 1rem;
    line-height: 1.6;
  }

  /* -------- GRUPOS / ÁLBUMES -------- */
  .grupo header,
  .album header {
    padding: 24px 28px 18px;
  }

  .grupo header h1,
  .album header h1 {
    font-size: 1.7rem;
    line-height: 1.2;
  }

  .grupo .links a,
  .album .links a {
    font-size: 1rem;
    margin-right: 14px;
    padding-right: 14px;
  }

  .grupo .menu-boton,
  .album .menu-boton {
    padding: 10px 14px;
  }

  .grupo .menu-desplegable,
  .album .menu-desplegable {
    top: 64px;
  }

  .grupo main,
  .album main {
    padding-top: 140px;
  }

  .grupo h2,
  .album h2 {
    font-size: 1.3rem;
    margin: 2.4rem 0 1.2rem;
  }

  .grupo p,
  .album p {
    font-size: 1.05rem;
    line-height: 1.6;
  }

  .grupo footer,
  .album footer {
    font-size: 0.7rem;
  }

  .grupo footer p,
  .grupo footer a,
  .grupo footer span,
  .grupo footer small,
  .album footer p,
  .album footer a,
  .album footer span,
  .album footer small {
    font-size: 0.85rem;
    line-height: 1.45;
  }

  .grupo .apoyo-kofi,
  .album .apoyo-kofi {
    font-size: 0.75rem;
    line-height: 1.2;
    max-width: 26rem;
    margin-top: 0.6rem;
  }

  .grupo .discografia,
  .album .canciones {
    font-size: 1.2rem;
  }
}

  /* -------- HOME -------- */
  @media (max-width: 480px) {

  .home .instagram-btn svg {
    width: 18px;
    height: 18px;
  }

  .home .cielo {
    min-height: auto;
    overflow: visible;
  }

  .home .contenido {
    width: 80%;
    padding-left: 18px;
    padding-right: 18px;
  }

  .home h1 {
    font-size: 1.6rem;
    margin-bottom: 0.6rem;
  }

  .home h1 + h2 {
    margin-top: 0.4rem;
  }

  .home .contenido p {
    font-size: 0.95rem;
    line-height: 1.55;
    letter-spacing: 0.2px;
    hyphens: auto;
    overflow-wrap: break-word;
  }

  .home h2 {
    font-size: 1.1rem;
    margin-top: 1.6rem;
    margin-bottom: 0.8rem;
  }
 
  .home .guia-sitio h2 {
    font-size: 1rem;
  }

  .home .guia-sitio p {
    font-size: 0.9rem;
    line-height: 1.55;
    hyphens: auto;
    overflow-wrap: break-word;
  }

  /* -------- GRUPOS / ÁLBUMES -------- */
  html,
  body {
    min-height: 100%;
  }

  .grupo header,
  .album header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 3000;
    padding: 20px 20px 16px;
    background: inherit;
    display: flex;
    flex-direction: column; 
  }

  .grupo .header-linea,
  .album .header-linea {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 10px;
  }

  .grupo header h1,
  .album header h1 {
    font-size: 1.4rem;
    line-height: 1.15;
    margin: 0;
    padding: 0;
  }

  .grupo .links,
  .album .links {
    margin-top: 8px;
    display: flex;
  }

  .grupo .links a,
  .album .links a {
    font-size: 0.90rem;
    margin-right: 10px;
    padding-right: 10px;
  }

  .grupo .menu-boton,
  .album .menu-boton {
    padding: 8px 12px;
    transform: translateY(-2px);
}

  .grupo .menu-desplegable,
  .album .menu-desplegable {
    top: 58px; /* ajustable */
}

  .grupo main,
  .album main {
    padding-top: 120px;
  }

  .grupo h2,
  .album h2 {
    font-size: 1.15rem;
    margin: 2rem 0 1rem;
  }

  .grupo p,
  .album p {
    font-size: 1rem;
    line-height: 1.55;
    hyphens: auto;
    overflow-wrap: break-word;
  }

  .grupo,
  .album {
    background-attachment: scroll;
    background-size: cover;
    background-position: center;
    min-height: 100vh;
  }

  .grupo footer,
  .album footer {
    font-size: 0.6rem;
    line-height: 1.25;
  }

  .grupo footer p,
  .grupo footer a,
  .grupo footer span,
  .grupo footer small,
  .album footer p,
  .album footer a,
  .album footer span,
  .album footer small {
    font-size: 0.75rem;
    line-height: 1.4;
  }

.grupo .apoyo-kofi,
.album .apoyo-kofi {
    font-size: 0.65rem;
    line-height: 1.15;
    max-width: 22rem;
    margin: 0.4rem auto 0;
  }

  .grupo .discografia,
  .album .canciones {
    font-size: 1.1rem;
  }    

}

}


