/* Base */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: #0a0a0a;
  color: #eaeaea;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(10,10,10,0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.brand-logo { width: 36px; height: 36px; object-fit: cover; border-radius: 4px; }
.brand-name { font-weight: 800; letter-spacing: 0.5px; }

.site-nav a {
  color: #ddd;
  text-decoration: none;
  margin-left: 16px;
  padding: 6px 8px;
  border-radius: 6px;
}
.site-nav a:hover, .site-nav a.active { color: #fff; background: rgba(204,0,0,0.18); }

/* Hero */
.hero { position: relative; min-height: 65vh; display: grid; place-items: center; }
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.2), rgba(10,10,10,0.8)), url('/banda/general/estudio.jpg') center/cover no-repeat;
  filter: saturate(1.1) contrast(1.05);
}
.hero-content { position: relative; text-align: center; padding: 64px 0; }
.hero-title { display: none; }
.hero-tagline { display: none; }
.hero-logo { width: clamp(200px, 50vw, 640px); max-width: 90vw; height: auto; display: block; margin: 0 auto 16px; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.55)); }

.btn { display: inline-block; border: 2px solid #cc0000; color: #fff; text-decoration: none; padding: 10px 18px; border-radius: 8px; font-weight: 600; }
.btn-primary { background: #cc0000; }
.btn-primary:hover { background: #a70000; border-color: #a70000; }
.btn-secondary:hover { background: rgba(204,0,0,0.15); }
.hero-ctas { display: inline-flex; gap: 12px; }

/* Sections */
.section { padding: 56px 0; }
.section-alt { background: #111; }
.section h2 { margin: 0 0 16px; font-size: 28px; }
.section p { color: #cfcfcf; }

.link-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.pill { display: inline-block; padding: 8px 12px; border-radius: 999px; border: 1px solid #333; color: #eee; text-decoration: none; background: #141414; }
.pill:hover { border-color: #cc0000; color: #fff; }

/* Center Música section */
#musica .container { text-align: center; }
#musica .link-pills { justify-content: center; }

/* Video */
.video-embed { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 10px; border: 1px solid #222; background: #000; }
.video-embed iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

/* Members */
.members { display: grid; grid-template-columns: repeat( auto-fit, minmax(220px, 1fr) ); gap: 16px; margin-top: 12px; }
.member { border: 1px solid #222; background: #121212; border-radius: 12px; padding: 12px; cursor: pointer; outline: none; }
.member:focus { box-shadow: 0 0 0 2px #cc0000; }
.avatar { width: 100%; aspect-ratio: 1/1; background-size: cover; background-position: center; border-radius: 8px; }
.avatar--fallback { background: repeating-linear-gradient(135deg, #1e1e1e, #1e1e1e 10px, #151515 10px, #151515 20px); }
.avatar--rostik { background-image: url('/banda/lead/smile.jpg'); }
.avatar--vacante { background-image: url('/banda/bajo/post-produccion.jpg'); }
.avatar--chino { background-image: url('/banda/bata/chino.png'); }
.member-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: 10px; }
.member-name { margin: 0; font-size: 18px; }
.member-role { margin: 0; color: #aaa; font-size: 14px; }
.member-bio { display: none; margin: 10px 0 0; color: #d0d0d0; font-size: 14px; }
.member.open .member-bio { display: block; }

/* Contact */
.contact-form { display: grid; gap: 12px; max-width: 640px; }
.form-row { display: grid; gap: 6px; }
label { color: #dcdcdc; font-size: 14px; }
input, textarea { width: 100%; padding: 10px 12px; border-radius: 8px; border: 1px solid #2a2a2a; background: #0f0f0f; color: #f5f5f5; }
input:focus, textarea:focus { outline: none; border-color: #cc0000; }
.form-actions { margin-top: 4px; }

/* Footer */
.site-footer { border-top: 1px solid rgba(255,255,255,0.06); background: #0c0c0c; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; gap: 10px; }
.social a { color: #bbb; text-decoration: none; margin-left: 12px; }
.social a:hover { color: #fff; }

@media (max-width: 640px) {
  .site-nav a { margin-left: 8px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* Calendar */
.calendar-embed { border: 1px solid #333; border-radius: 10px; overflow: hidden; background: #0a0a0a; max-width: 760px; margin: 0 auto; }
.calendar-embed iframe { width: 100%; height: 420px; display: block; border: 0;
  filter: invert(1) hue-rotate(180deg) contrast(0.95) brightness(0.9) saturate(0.8);
}
@media (max-width: 640px) {
  .calendar-embed iframe { height: 360px; }
}
