:root {
  --black: #111111;
  --white: #ffffff;
  --cream: #f7f5f2;
  --accent: #a3122e;
  --warm: #e8a33d;
  --gray: #6b6b6b;
  --font: 'Montserrat', sans-serif;
  --font-display: 'Fredoka', sans-serif;
  --shadow-soft: 0 12px 30px -12px rgba(17,17,17,0.18);
  --shadow-hover: 0 20px 40px -14px rgba(17,17,17,0.28);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
}

img, video, .placeholder-img { display: block; width: 100%; height: 100%; object-fit: cover; }

.placeholder-img {
  background: linear-gradient(135deg, #2a2a2a, #111111);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.placeholder-img::after {
  content: attr(data-placeholder);
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  padding: 1rem;
  max-width: 100%;
  min-width: 0;
  overflow-wrap: break-word;
}

.eyebrow {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.eyebrow.center { text-align: center; }

.section-title {
  font-family: var(--font-display);
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 600;
  margin-bottom: 3rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 999px;
  transition: all 0.2s ease;
}
.btn-outline {
  border: 1.5px solid var(--accent);
  color: var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: var(--white);
}
.btn-solid {
  border: none;
  background: var(--accent);
  color: var(--white);
  cursor: pointer;
}
.btn-solid:hover { background: #86102670; box-shadow: var(--shadow-hover); }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(17,17,17,0.85);
  backdrop-filter: blur(8px);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--font-display);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 1.2rem;
}
.logo span { font-weight: 400; opacity: 0.75; margin-left: 0.3em; }

.main-nav {
  position: fixed;
  top: 64px; right: 0;
  background: rgba(17,17,17,0.97);
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 220px;
  transform: translateX(100%);
  transition: transform 0.25s ease;
}
.main-nav.open { transform: translateX(0); }
.main-nav a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.85;
  transition: opacity 0.2s;
  padding: 1rem 1.5rem;
  width: 100%;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.main-nav a:hover { opacity: 1; color: var(--accent); }
.main-nav a.active { opacity: 1; color: var(--accent); }

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.menu-toggle span {
  width: 24px; height: 2px;
  background: var(--white);
}

/* Hero */
.hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { object-position: center 20%; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(17,17,17,0.35) 0%, rgba(17,17,17,0.85) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding: 0 1.5rem 5rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  font-weight: 600;
  letter-spacing: 0.01em;
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 400;
  opacity: 0.9;
  margin-top: 0.5rem;
}
.scroll-cue {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-size: 1.5rem;
  z-index: 2;
  text-decoration: none;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* Foto de portada fullwidth con título superpuesto (Biografía / Agenda / Videos / Podcasts / Galería / Contacto / Noticias) */
.bio-media,
.agenda-hero,
.videos-hero,
.podcasts-hero,
.cursos-hero,
.galeria-hero,
.contacto-hero,
.noticias-hero {
  position: relative;
  width: calc(100% + 3rem);
  margin: -6rem -1.5rem 4rem;
  aspect-ratio: 21/9;
  overflow: hidden;
}
.bio-media {
  background: var(--black);
}
.bio-media img {
  object-fit: contain;
}
.podcasts-hero img {
  object-position: center top;
}
.noticias-hero img {
  object-position: center 10%;
}
.bio-media::before,
.agenda-hero::before,
.videos-hero::before,
.podcasts-hero::before,
.cursos-hero::before,
.galeria-hero::before,
.contacto-hero::before,
.noticias-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 45%);
  pointer-events: none;
}
.bio-media-label,
.agenda-hero-label,
.videos-hero-label,
.podcasts-hero-label,
.cursos-hero-label,
.galeria-hero-label,
.contacto-hero-label,
.noticias-hero-label {
  position: absolute;
  left: clamp(1.5rem, 4vw, 3rem);
  bottom: clamp(1.25rem, 3vw, 2rem);
  z-index: 2;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.2rem, 6vw, 4rem);
  color: var(--white);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* Bio */
.bio { padding: 6rem 1.5rem; }
.bio-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
}
.bio-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  margin-bottom: 1.25rem;
  text-align: center;
}
.bio-content p {
  color: var(--gray);
  margin-bottom: 1.25rem;
}
.bio-content .btn { display: block; width: fit-content; margin: 1rem auto 0; }

/* Agenda */
.agenda { padding: 6rem 1.5rem; }
.concert-list { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 3rem; }
.concert {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 2rem;
  align-items: center;
  background: var(--white);
  border-radius: 18px;
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.concert:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.concert-date { text-align: center; }
.concert-date .day { display: block; font-size: 2.2rem; font-weight: 800; }
.concert-date .month {
  display: block; font-size: 0.75rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gray);
}
.concert-info h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; margin-bottom: 0.25rem; }
.concert-info .venue { color: var(--gray); font-size: 0.9rem; }
.concert-info hr { border: none; border-top: 1px solid #eee; margin: 0.85rem 0; }
.concert-info .tagline { font-size: 1rem; color: var(--accent); margin-bottom: 0.6rem; }
.concert-info .program { font-size: 0.95rem; color: var(--gray); margin-bottom: 0.85rem; }
.concert-info .credits { font-size: 0.9rem; line-height: 1.5; }

/* Videos */
.videos { padding: 6rem 1.5rem; background: var(--cream); }
.video-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem 2rem;
}
.video-item h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  margin-top: 1.25rem;
  margin-bottom: 0.25rem;
}
.video-subtitle { font-style: italic; color: var(--gray); margin-bottom: 0.75rem; }
.video-desc { color: var(--gray); font-size: 0.95rem; }
.video-card {
  position: relative; aspect-ratio: 16/9; height: auto; cursor: pointer; overflow: hidden;
  border-radius: 16px; box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-size: cover;
  background-position: center;
  background-color: #111;
}
.video-card:hover { transform: translateY(-4px) scale(1.01); box-shadow: var(--shadow-hover); }
.play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--accent); color: var(--white);
  border: none; font-size: 1.3rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
}

/* Podcasts */
.podcasts { padding: 6rem 1.5rem; background: var(--cream); }
.podcasts-intro {
  max-width: 700px;
  margin: 0 auto 3rem;
  text-align: center;
  color: var(--gray);
}
.podcast-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}
.podcast-card {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.podcast-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.podcast-embed iframe { display: block; }
.podcast-info { padding: 1.5rem; }
.podcast-info h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.podcast-info p { color: var(--gray); font-size: 0.9rem; }

/* Cursos y Talleres */
.cursos { padding: 6rem 1.5rem; }
.cursos-hero img { object-position: center 15%; }
.curso-list { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 3rem; }
.curso {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 2rem;
  align-items: center;
  background: var(--white);
  border-radius: 18px;
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.curso:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.curso-date { text-align: center; }
.curso-date .day { display: block; font-size: 2.2rem; font-weight: 800; }
.curso-date .month {
  display: block; font-size: 0.75rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gray);
}
.curso-info h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; margin-bottom: 0.25rem; }
.curso-info .venue { color: var(--gray); font-size: 0.9rem; }
.curso-info hr { border: none; border-top: 1px solid #eee; margin: 0.85rem 0; }
.curso-info .program { font-size: 0.95rem; }
.curso-empty {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}
.curso-empty p { color: var(--gray); margin-bottom: 0.5rem; }
.curso-empty p:last-of-type { margin-bottom: 1.5rem; }

/* Galeria */
.galeria { padding: 6rem 1.5rem; }
.gallery-carousel {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  aspect-ratio: 16/9;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease;
}
.carousel-slide { flex: 0 0 100%; height: 100%; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(17,17,17,0.55);
  color: var(--white);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease;
}
.carousel-arrow:hover { background: var(--accent); }
.carousel-arrow.prev { left: 1rem; }
.carousel-arrow.next { right: 1rem; }
.carousel-dots {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
  z-index: 2;
}
.carousel-dots button {
  width: 9px; height: 9px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  padding: 0;
}
.carousel-dots button.active { background: var(--white); }

/* Noticias / Blog */
.noticias { padding: 6rem 1.5rem; }
.article-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}
.article-card {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.article-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.article-cover { aspect-ratio: 16/10; }
.article-info { padding: 1.5rem; }
.article-date {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.article-info h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; margin-bottom: 0.5rem; }
.article-info p { color: var(--gray); font-size: 0.9rem; margin-bottom: 1.25rem; }

/* Contacto */
.contacto { padding: 6rem 1.5rem; background: var(--black); color: var(--white); text-align: center; }
.contacto .section-title { color: var(--white); }
.contact-email a {
  color: var(--white);
  font-size: clamp(1.3rem, 3vw, 2rem);
  text-decoration: none;
  font-weight: 600;
}
.contact-email a:hover { color: var(--accent); }
.social-links { margin-top: 2rem; display: flex; gap: 2rem; justify-content: center; }
.social-links a {
  color: var(--white); opacity: 0.75; text-decoration: none;
  font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase;
}
.social-links a:hover { opacity: 1; color: var(--accent); }

/* Newsletter */
.newsletter {
  padding: 5rem 1.5rem;
  background: linear-gradient(120deg, var(--accent), var(--warm));
  color: var(--white);
  text-align: center;
}
.newsletter-inner { max-width: 560px; margin: 0 auto; }
.newsletter h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 600; margin-bottom: 0.5rem; }
.newsletter p { opacity: 0.9; margin-bottom: 2rem; }
.newsletter-form { display: flex; gap: 0.75rem; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.newsletter-form input {
  flex: 1;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  border: none;
  font-family: var(--font);
  font-size: 0.95rem;
}
.newsletter-form input:focus { outline: 3px solid rgba(255,255,255,0.5); }
.newsletter-form .btn-solid { background: var(--black); border-radius: 999px; padding: 0.9rem 1.75rem; }
.newsletter-form .btn-solid:hover { background: rgba(17,17,17,0.8); }

/* Footer */
.site-footer {
  background: var(--black); color: var(--white);
  padding: 2.5rem 1.5rem; text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; margin-bottom: 1.5rem; }
.footer-nav a { color: var(--white); opacity: 0.7; text-decoration: none; font-size: 0.85rem; }
.footer-nav a:hover { opacity: 1; }
.site-footer p { font-size: 0.8rem; opacity: 0.5; }
.site-footer p a { color: inherit; text-decoration: underline; }
.site-footer p a:hover { color: var(--accent); }

/* Responsive */
@media (max-width: 900px) {
  .bio-media,
  .agenda-hero,
  .videos-hero,
  .podcasts-hero,
  .cursos-hero,
  .galeria-hero,
  .contacto-hero,
  .noticias-hero { aspect-ratio: 4/3; }
  .concert, .curso { grid-template-columns: minmax(0, 1fr); text-align: center; gap: 1rem; }
  .concert-date, .curso-date { display: flex; gap: 0.5rem; justify-content: center; align-items: baseline; }
  .video-grid { grid-template-columns: minmax(0, 1fr); }
  .podcast-grid { grid-template-columns: minmax(0, 1fr); }
  .article-grid { grid-template-columns: minmax(0, 1fr); }
  .newsletter-form { flex-direction: column; }
}

/* Página de artículo individual */
.article-hero {
  width: 100%;
  aspect-ratio: 16/9;
  max-height: 70vh;
}
.article-header-card {
  max-width: 900px;
  margin: -4rem auto 0;
  position: relative;
  z-index: 2;
  background: var(--white);
  border-radius: 22px 22px 0 0;
  padding: 2.5rem clamp(1.5rem, 5vw, 4rem) 0;
  text-align: center;
}
.article-header-card .article-date { margin-bottom: 0.75rem; }
.article-header-card h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.15;
}
.article-body {
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem 1.5rem 6rem;
}
.article-body hr { border: none; border-top: 1px solid #eee; margin: 0 0 2rem; }
.article-body p { color: var(--gray); margin-bottom: 1.25rem; }
.article-body .btn { margin-top: 1rem; }

@media (max-width: 700px) {
  .article-header-card { margin-top: -2.5rem; padding-top: 1.75rem; }
}

