/* Jota Zambrano DJ — sistema de diseño editorial negro/crema */

@import url('https://db.onlinewebfonts.com/c/95cecf452d3208890088a5b4c19c7ecf?family=Helvetica+Neue+ME');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800&display=swap');

:root {
  --cream: #efeee9;
  --ink: #0a0a0a;
  --ink-panel: #141414;
  --border: rgba(239, 238, 233, 0.14);
  --border-soft: rgba(239, 238, 233, 0.08);
  --muted: rgba(239, 238, 233, 0.55);
  --font-hn: 'Helvetica Neue ME', Helvetica, Arial, sans-serif;
  --max-width: 1240px;
}

* { box-sizing: border-box; }

.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;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-hn);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-hn);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; color: var(--muted); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 640px) {
  .container { padding: 0 2.5rem; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--cream);
}

/* ---------- Links / buttons (no pills, no gradients) ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  font-family: var(--font-hn);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.95rem 1.9rem;
  border: 1px solid var(--cream);
  border-radius: 0;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, opacity 0.3s ease;
  white-space: nowrap;
  background: transparent;
  color: var(--cream);
}
.btn-primary { background: var(--cream); color: var(--ink); }
.btn-primary:hover { background: transparent; color: var(--cream); }
.btn-whatsapp { background: #25D366; color: #fff; border-color: #25D366; }
.btn-whatsapp:hover { background: #1fb854; border-color: #1fb854; color: #fff; }
.btn-outline:hover { opacity: 0.6; }

.text-link {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.15rem;
  transition: opacity 0.3s ease, border-color 0.3s ease;
}
.text-link:hover { opacity: 0.6; border-color: var(--cream); }

/* ---------- Header / chrome (shared across all pages) ---------- */

.chrome-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1.5rem 1.5rem;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
  transition: transform 0.35s ease;
}
.chrome-header.is-hidden { transform: translateY(-100%); }
@media (min-width: 640px) {
  .chrome-header { padding: 2rem 2.5rem; }
}

.hero .chrome-header {
  position: absolute;
  inset-inline: 0;
  top: 0;
  background: transparent;
  backdrop-filter: none;
  border-bottom: none;
}

.brand {
  font-family: var(--font-hn);
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  color: var(--cream);
  display: inline-flex;
  align-items: center;
}
.brand-logo { height: 32px; width: auto; display: block; }

.chrome-right {
  display: none;
  align-items: flex-start;
  gap: 4rem;
}
@media (min-width: 640px) {
  .chrome-right { display: flex; }
}
@media (min-width: 1024px) {
  .chrome-right { gap: 6rem; }
}

.chrome-location { font-size: 0.85rem; color: var(--muted); padding-top: 0.1rem; }

.chrome-nav, .chrome-social {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.85rem;
}
.chrome-nav a, .chrome-social a { transition: opacity 0.3s ease; }
.chrome-nav a:hover, .chrome-social a:hover { opacity: 0.6; }
.chrome-nav a.active { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Hamburger ---------- */

.hamburger {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
@media (min-width: 640px) { .hamburger { display: none; } }

.hamburger .bar {
  position: absolute;
  width: 24px;
  height: 1.5px;
  background: var(--cream);
  transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1), opacity 0.3s ease;
}
.hamburger .bar:nth-child(1) { transform: translateY(-7px); }
.hamburger .bar:nth-child(2) { transform: translateY(0); }
.hamburger .bar:nth-child(3) { transform: translateY(7px); }
.hamburger.is-open .bar:nth-child(1) { transform: translateY(0) rotate(45deg); }
.hamburger.is-open .bar:nth-child(2) { opacity: 0; }
.hamburger.is-open .bar:nth-child(3) { transform: translateY(0) rotate(-45deg); }

/* ---------- Mobile drawer ---------- */

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}
.drawer-backdrop.is-open { opacity: 1; pointer-events: auto; }

.drawer-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  width: 80%;
  max-width: 24rem;
  background: var(--ink-panel);
  padding: 2.5rem 2rem;
  transform: translateX(100%);
  transition: transform 0.6s cubic-bezier(0.76, 0, 0.24, 1);
  overflow-y: auto;
}
.drawer-panel.is-open { transform: translateX(0); }

.drawer-close {
  position: absolute;
  right: 1.5rem;
  top: 1.5rem;
  background: none;
  border: none;
  color: var(--cream);
  cursor: pointer;
  padding: 0.4rem;
  opacity: 0;
  transform: rotate(90deg);
  transition: opacity 0.3s ease 0.3s, transform 0.5s cubic-bezier(0.76, 0, 0.24, 1) 0.3s;
}
.drawer-panel.is-open .drawer-close { opacity: 1; transform: rotate(0deg); }

.drawer-label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 2.2rem 0 1rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.drawer-label:first-of-type { margin-top: 3.2rem; }
.drawer-panel.is-open .drawer-label.label-index { transition-delay: 0.25s; opacity: 1; transform: translateY(0); }
.drawer-panel.is-open .drawer-label.label-social { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }

.drawer-nav { list-style: none; margin: 0 0 1rem; padding: 0; }
.drawer-nav a {
  font-size: 2rem;
  padding: 0.35rem 0;
  display: block;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.drawer-social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.2rem; }
.drawer-social a {
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.drawer-panel.is-open .drawer-nav a,
.drawer-panel.is-open .drawer-social a { opacity: 1; transform: translateY(0); }

/* staggered delays */
.drawer-panel.is-open .drawer-nav a:nth-child(1) { transition-delay: 0.30s; }
.drawer-panel.is-open .drawer-nav a:nth-child(2) { transition-delay: 0.38s; }
.drawer-panel.is-open .drawer-nav a:nth-child(3) { transition-delay: 0.46s; }
.drawer-panel.is-open .drawer-nav a:nth-child(4) { transition-delay: 0.54s; }
.drawer-panel.is-open .drawer-social a:nth-child(1) { transition-delay: 0.55s; }
.drawer-panel.is-open .drawer-social a:nth-child(2) { transition-delay: 0.61s; }
.drawer-panel.is-open .drawer-social a:nth-child(3) { transition-delay: 0.67s; }
.drawer-panel.is-open .drawer-social a:nth-child(4) { transition-delay: 0.73s; }
.drawer-panel.is-open .drawer-social a:nth-child(5) { transition-delay: 0.79s; }

/* ---------- Hero (Inicio only) ---------- */

.hero {
  position: relative;
  height: 100dvh;
  width: 100%;
  overflow: hidden;
  background: var(--ink);
}

.hero-bg {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  background:
    radial-gradient(ellipse 70% 55% at 50% 38%, rgba(255,255,255,0.06), transparent 65%),
    var(--ink);
}

.hero-portrait-stack {
  position: absolute;
  inset: 0;
  z-index: 20;
  height: 100%;
  width: 100%;
  pointer-events: none;
}

.hero-portrait-slide {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: contain;
  object-position: bottom center;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1.6s ease;
  animation: portrait-breathe 13s ease-in-out infinite;
}
.hero-portrait-slide.is-active { opacity: 1; z-index: 1; }

@keyframes portrait-breathe {
  0%, 100% { transform: scale(1) translateY(0); }
  50% { transform: scale(1.028) translateY(-1%); }
}

.marquee-wrap {
  position: absolute;
  inset-inline: 0;
  top: 38vh;
  z-index: 10;
  overflow: hidden;
}
@media (min-width: 640px) { .marquee-wrap { top: 32vh; } }

@media (max-width: 639px) {
  .hero-portrait-slide { object-position: center 87%; }
}

.marquee-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  font-family: 'Montserrat', var(--font-hn);
  font-weight: 700;
  font-size: 18vh;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--cream);
  animation: marquee-scroll 30s linear infinite;
}
@media (min-width: 640px) { .marquee-track { font-size: 28vh; } }
.marquee-track span {
  padding-right: 6vw;
  animation: color-cycle-word 20s ease-in-out infinite, zoom-pulse 6s ease-in-out infinite;
}
.marquee-accent {
  animation: color-cycle-accent 20s ease-in-out infinite, zoom-pulse 6s ease-in-out infinite;
}

@keyframes color-cycle-word {
  0%, 22% { color: #4472C4; }
  25%, 47% { color: #8B5A9E; }
  50%, 72% { color: #5BA3A3; }
  75%, 97% { color: #D89B9B; }
  100% { color: #4472C4; }
}

@keyframes color-cycle-accent {
  0%, 22% { color: #8B5A9E; }
  25%, 47% { color: #5BA3A3; }
  50%, 72% { color: #D89B9B; }
  75%, 97% { color: #4472C4; }
  100% { color: #8B5A9E; }
}

@keyframes zoom-pulse {
  0%, 35% { transform: scale(1); }
  45%, 55% { transform: scale(1.12); }
  65%, 100% { transform: scale(1); }
}

.hero-rule {
  position: absolute;
  inset-inline: 1.5rem;
  bottom: 5.5rem;
  z-index: 10;
  height: 1px;
  background: var(--cream);
  transform-origin: left;
}
@media (min-width: 640px) {
  .hero-rule { inset-inline: 2.5rem; bottom: 7rem; }
}

.hero-footer {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 10;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 1.5rem 1.25rem;
  font-size: 0.72rem;
  line-height: 1.6;
  gap: 1rem;
}
@media (min-width: 640px) {
  .hero-footer { padding: 0 2.5rem 2rem; font-size: 0.85rem; }
}
.hero-footer .right { text-align: right; }
.hero-footer p { color: var(--cream); margin: 0; }

/* ---------- Page hero (inner pages) ---------- */

.page-hero { padding: 3.5rem 0 1rem; }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); }

/* ---------- Sections ---------- */

section { padding: 4.5rem 0; }
.section-border-t { border-top: 1px solid var(--border-soft); }
.section-head { max-width: 640px; margin-bottom: 2.8rem; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }

/* Tags — plain text, no pills */
.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: 0.95rem; letter-spacing: 0.04em; text-transform: uppercase; }
.tags span:not(:last-child)::after { content: "/"; margin-left: 0.5rem; color: var(--muted); }

/* Bio */
.bio-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3.5rem;
  align-items: start;
}
.bio-photo img { filter: grayscale(15%); }

.expect-list, .venues-list {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}
.expect-list li, .venues-list li {
  font-size: 0.98rem;
  color: var(--cream);
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--border-soft);
}

/* Music page */
.music-embed { border: 1px solid var(--border); }
.music-embed iframe { width: 100%; border: 0; display: block; filter: grayscale(20%); }
.music-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
.platform-links { display: flex; flex-wrap: wrap; gap: 1.6rem; margin-top: 2rem; }

.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.video-embed { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--border); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(20%); }
@media (max-width: 980px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .video-grid { grid-template-columns: 1fr; } }

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  border: 1px solid var(--border-soft);
  cursor: pointer;
  aspect-ratio: 3 / 4;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(30%);
  transition: transform 0.5s ease, filter 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.04); filter: grayscale(0%); }
.gallery-item.is-wide { grid-column: span 2; aspect-ratio: 16 / 10; }
.gallery-item.is-wide img { object-position: center; }

.gallery-download {
  position: absolute;
  bottom: 0.7rem;
  right: 0.7rem;
  z-index: 2;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(4px);
  border: 1px solid var(--border);
  color: var(--cream);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.gallery-download svg { width: 16px; height: 16px; }
.gallery-item:hover .gallery-download { opacity: 1; transform: translateY(0); }
.gallery-download:hover { background: var(--cream); color: var(--ink); }
@media (hover: none) { .gallery-download { opacity: 1; transform: translateY(0); } }

.masonry {
  column-count: 2;
  column-gap: 1rem;
}
@media (min-width: 760px) { .masonry { column-count: 3; } }
@media (min-width: 1150px) { .masonry { column-count: 4; } }

.masonry-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  cursor: pointer;
}
.masonry-item img {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(8%);
  transition: transform 0.5s ease, filter 0.5s ease;
}
.masonry-item:hover img { transform: scale(1.035); filter: grayscale(0%); }

.gallery-likes {
  padding: 1rem 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border-top: 1px solid var(--border-soft);
  background: rgba(239, 238, 233, 0.02);
}

.like-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 0;
  font-size: 0.85rem;
  transition: color 0.3s ease;
  font-family: var(--font-hn);
}

.like-btn:hover {
  color: #ff4d6d;
}

.like-btn.liked {
  color: #ff4d6d;
}

.like-btn.liked .heart-icon {
  fill: #ff4d6d;
}

.heart-icon {
  width: 18px;
  height: 18px;
  transition: fill 0.3s ease, stroke 0.3s ease;
}

.likes-count {
  font-size: 0.8rem;
}

.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(4, 4, 4, 0.94);
  display: none;
  align-items: center; justify-content: center;
  padding: 2rem;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 88vh; max-width: 90vw; }
.lightbox-close {
  position: absolute; top: 1.8rem; right: 2rem;
  background: none; border: none; color: var(--cream);
  cursor: pointer; padding: 0.4rem;
}

/* Contact */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-block h3 { font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.06em; }
.contact-number { font-size: 1.8rem; margin: 0.6rem 0 1.2rem; }
.social-row { display: flex; flex-wrap: wrap; gap: 0.5rem 1.6rem; margin-top: 1.6rem; }
.social-row a { display: flex; align-items: center; gap: 0.55em; font-size: 0.9rem; }
.social-row svg, .icon { width: 17px; height: 17px; }

/* ---------- Footer (inner pages) ---------- */

.site-footer {
  border-top: 1px solid var(--border-soft);
  padding: 2.5rem 0;
}
.site-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.2rem;
  font-size: 0.75rem;
}
.footer-note { color: var(--muted); }
.footer-legal { display: flex; gap: 1rem; }
.footer-legal a { color: var(--muted); transition: color 0.3s ease; }
.footer-legal a:hover { color: var(--cream); }
.footer-social { display: flex; gap: 1.1rem; }
.footer-social a { color: var(--muted); transition: color 0.3s ease; }
.footer-social a:hover { color: var(--cream); }

/* ---------- Entrance animations ---------- */

@keyframes anim-fade-in-kf { from { opacity: 0; } to { opacity: 1; } }
.anim-fade-in { animation: anim-fade-in-kf 1.2s ease-out both; }

@keyframes anim-rise-in-kf {
  from { opacity: 0; transform: translateY(4vh) scale(1.03); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.anim-rise-in { animation: anim-rise-in-kf 1.4s cubic-bezier(0.22, 1, 0.36, 1) both; animation-delay: 0.3s; }

@keyframes anim-fade-up-kf {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
.anim-fade-up { animation: anim-fade-up-kf 0.9s cubic-bezier(0.22, 1, 0.36, 1) both; }

@keyframes anim-line-kf { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.anim-line { animation: anim-line-kf 1.1s cubic-bezier(0.76, 0, 0.24, 1) both; animation-delay: 1.2s; }

@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .anim-fade-in, .anim-rise-in, .anim-fade-up, .anim-line, .marquee-track, .reveal, .hero-portrait-slide {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .bio-layout { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.is-wide { grid-column: span 2; }
}

@media (max-width: 640px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.is-wide { grid-column: span 1; }
  .hero-footer { flex-direction: row; align-items: flex-end; }
}

/* ---------- Aviso de cookies ---------- */

.cookie-banner {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 200;
  background: var(--ink-panel);
  border-top: 1px solid var(--border);
  padding: 1.2rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
@media (min-width: 640px) { .cookie-banner { padding: 1.2rem 2.5rem; } }
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner p {
  color: var(--cream);
  font-size: 0.82rem;
  line-height: 1.5;
  margin: 0;
  max-width: 60ch;
}
.cookie-banner .cookie-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; flex-shrink: 0; }
.cookie-banner .btn { padding: 0.65rem 1.3rem; font-size: 0.72rem; }

.embed-consent {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  padding: 1.5rem;
  text-align: center;
  background: var(--ink-panel);
}
.embed-consent p { font-size: 0.78rem; color: var(--muted); margin: 0; max-width: 32ch; }
.embed-consent .btn { font-size: 0.7rem; padding: 0.65rem 1.2rem; }
.music-embed { position: relative; min-height: 300px; }
