/*
 Theme Name: ZamJam Astra Child
 Theme URI: https://zamjam.es
 Description: Tema hijo Astra con paleta ZamJam
 Author: ZamJam Team
 Template: astra
 Version: 1.0.0
 License: GPL v2 or later
*/

@import url('../astra/style.css');
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cherry+Bomb+One&display=swap');

/* ===========================
   VARIABLES
   =========================== */
:root {
  /* Paleta ZamJam */
  --bg-light: #EBDDF2;
  --bg-dark: #311942;
  --basic-1: #B788D2;
  --basic-2: #8A4EA8;
  --basic-3: #6B3587;
  --accent-mint: #5FD0B1;
  --accent-yellow: #FADD74;
  --accent-blue: #4B6FAC;
  --accent-pink: #DB4AAE;
  --text-dark: #311942;
  --text-light: #EBDDF2;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.18);
}

/* ===========================
   RESET & BASE
   =========================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Quicksand", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
}

.font-momentz, h1, h2, .logo-wordmark {
  font-family: "Cherry Bomb One", "Quicksand", system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ===========================
   HEADER & NAVIGATION
   =========================== */
header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: linear-gradient(
    to bottom,
    rgba(49, 25, 66, 0.98),
    rgba(49, 25, 66, 0.92),
    rgba(49, 25, 66, 0.88)
  );
  color: var(--text-light);
}

.nav {
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  height: 50px;
  text-decoration: none;
}

.logo-img {
  height: 70px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.logo-link:hover .logo-img {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  font-size: 16px;
  font-weight: 600;
}

.nav-links a {
  opacity: 0.85;
  padding: 8px 0;
  transition: opacity 0.2s;
}

.nav-links a:hover {
  opacity: 1;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-social {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-social a {
  color: var(--text-light);
  opacity: 0.8;
  transition: opacity 0.2s, transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-social a:hover {
  opacity: 1;
  transform: translateY(-2px);
}

/* ===========================
   BUTTONS
   =========================== */
.btn-small {
  font-size: 12px;
  padding: 8px 14px;
  border-radius: 999px;
  border: none;
  background: var(--accent-mint);
  color: var(--text-dark);
  font-weight: 600;
  cursor: pointer;
}

.btn-small:hover {
  transform: translateY(-1px);
  background: var(--accent-yellow);
}

.btn-primary {
  padding: 12px 22px;
  border-radius: 999px;
  border: none;
  background: var(--accent-mint);
  color: var(--text-dark);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--accent-yellow);
}

.btn-ghost {
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid rgba(235, 221, 242, 0.5);
  background: rgba(49, 25, 66, 0.2);
  color: var(--text-light);
  font-size: 13px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s;
}

.btn-ghost:hover {
  background: rgba(49, 25, 66, 0.35);
}

/* ===========================
   LAYOUT
   =========================== */
main {
  flex: 1;
}

.section {
  padding: 60px 10px;
}

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

/* ===========================
   HERO SECTION
   =========================== */
.hero {
  background: linear-gradient(145deg, var(--basic-3), var(--basic-2),var(--basic-1));
  color: var(--text-light);
  padding-top: 20px;
  padding-bottom: 24px;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.hero .section-inner {
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-image {
  max-width: 85%;
  height: auto;
  margin-bottom: 24px;
  animation: fadeInDown 0.6s ease-out;
}

.hero-subtitle {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 16px;
  max-width: 520px;
  opacity: 0.92;
  line-height: 1.5;
  text-align: center;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  justify-content: center;
}

.tag {
  font-size: 11px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(49, 25, 66, 0.2);
  border: 1px solid rgba(235, 221, 242, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent-yellow);
  flex-shrink: 0;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.hero-poster-container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  height: 100%;
}

.hero-poster {
  max-width: 90%;
  max-height: 80vh;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(49, 25, 66, 0.35);
  animation: fadeInDown 0.6s ease-out;
  object-fit: contain;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===========================
   ABOUT SECTION
   =========================== */
.section-about {
  background: var(--bg-light);
}

.section-white {
  background: #ffffff;
}

.section-title {
  font-size: 22px;
  margin-bottom: 4px;
}

.section-kicker {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--basic-3);
  margin-bottom: 6px;
}

.section-description {
  font-size: 14px;
  max-width: 640px;
  margin-bottom: 18px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  align-items: flex-start;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.pill-tag {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(183, 136, 210, 0.14);
  border: 1px solid rgba(183, 136, 210, 0.5);
  color: var(--basic-3);
}

.about-list {
  list-style: none;
  font-size: 13px;
  display: grid;
  gap: 6px;
  margin-bottom: 10px;
}

.about-list li::before {
  content: "·";
  color: var(--accent-pink);
  font-weight: 700;
  margin-right: 6px;
}

.about-highlight {
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(95, 208, 177, 0.1), rgba(250, 221, 116, 0.2));
  padding: 10px 12px;
  font-size: 12px;
  border: 1px solid rgba(95, 208, 177, 0.45);
}

.about-card {
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, var(--basic-1), var(--basic-3));
  color: var(--text-light);
  padding: 16px 16px 14px;
  box-shadow: var(--shadow-soft);
  font-size: 12px;
}

.about-card h3 {
  font-size: 14px;
  margin-bottom: 6px;
}

.about-card ul {
  list-style: none;
  display: grid;
  gap: 4px;
}

.about-card ul li::before {
  content: "▶";
  font-size: 9px;
  margin-right: 6px;
  color: var(--accent-yellow);
}

/* ===========================
   SCHEDULE SECTION
   =========================== */
.section-schedule {
  background: #ffffff;
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.schedule-card {
  border-radius: var(--radius-lg);
  background: #EBDDF2;
  padding: 20px;
  border: 1px solid rgba(49, 25, 66, 0.08);
  box-shadow: 0 8px 22px rgba(49, 25, 66, 0.08);
}

.schedule-day {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--basic-3);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent-mint);
}

.schedule-events {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.schedule-event {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.schedule-time {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-pink);
  min-width: 50px;
  flex-shrink: 0;
}

.schedule-details {
  flex: 1;
}

.schedule-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.schedule-desc {
  font-size: 12px;
  color: var(--text-dark);
  opacity: 0.75;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .schedule-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
}

/* ===========================
   FAQ SECTION
   =========================== */
.section-faq {
  background: var(--bg-light);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr;
  gap: 24px;
  align-items: flex-start;
}

.faq-intro {
  font-size: 13px;
  max-width: 380px;
}

.faq-list {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(49, 25, 66, 0.1);
  background: var(--bg-light);
  overflow: hidden;
}

details {
  border-bottom: 1px solid rgba(49, 25, 66, 0.08);
  padding: 10px 12px;
  font-size: 13px;
  background: rgba(255, 255, 255, 0.7);
}

details:last-of-type {
  border-bottom: none;
}

summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

summary::-webkit-details-marker {
  display: none;
}

.faq-question {
  font-weight: 600;
}

.faq-icon {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(49, 25, 66, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}

details[open] {
  background: rgba(183, 136, 210, 0.12);
}

details[open] .faq-icon {
  background: var(--accent-mint);
  border-color: var(--accent-mint);
  color: var(--text-dark);
}

details p {
  margin-top: 8px;
  font-size: 12px;
  opacity: 0.9;
}

/* ===========================
   PODCAST SECTION
   =========================== */
.section-podcast {
  background: #ffffff;
}

/* ===========================
   SPONSORS SECTION
   =========================== */
.section-sponsors {
  background: var(--bg-light);
}

.sponsors-organizers-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Columna de colaboradores (izquierda) */
.sponsors-column {
    width: 100%;
}

.sponsors-grid-left {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

/* Columna de organizadores (derecha) */
.organizers-column {
    width: 100%;
}

.organizers-grid {
    display: flex;
    flex-direction: row;
    gap: 24px;
    margin-top: 24px;
    justify-content: center;
}

.organizer-logo {
    max-width: 100%;
    height: 120px;
}

/* Responsive */
@media (max-width: 900px) {
    .sponsors-organizers-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .sponsors-grid-left {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 20px;
    }
    
    .organizers-grid {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: right;
    }
    
    .organizer-logo {
        max-width: 200px;
    }
}

.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px;
  margin-top: 32px;
  align-items: center;
  justify-items: center;
}

.sponsor-logo {
  width: 100%;
  max-width: 180px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(49, 25, 66, 0.08);
}

.sponsor-logo:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(49, 25, 66, 0.12);
}

.sponsor-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(20%);
  transition: filter 0.3s ease;
}

.sponsor-logo:hover img {
  filter: grayscale(0%);
}

/* ===========================
   NEWSLETTER SECTION
   =========================== */
.section-newsletter {
  background: linear-gradient(135deg, var(--basic-2), var(--basic-3));
  color: var(--text-light);
  padding: 48px 20px 48px 20px;
  margin-bottom: 0;
}

.newsletter-inner {
  max-width: 600px;
  text-align: center;
}

.section-newsletter .section-title {
  color: var(--text-light);
  margin-bottom: 8px;
}

.newsletter-description {
  color: rgba(235, 221, 242, 0.9);
  margin-bottom: 20px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.newsletter-input {
  flex: 1;
  min-width: 200px;
  padding: 12px 16px;
  border-radius: 999px;
  border: none;
  font-size: 14px;
}

.btn-newsletter {
  background: var(--accent-yellow);
  color: var(--text-dark);
}

/* ===========================
   FOOTER
   =========================== */
footer {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 18px 20px 24px;
  margin-top: 0;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  font-size: 11px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  opacity: 0.85;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  
  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 800px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  
  .hero {
    padding-top: 30px;
    min-height: auto;
  }
  
  .hero-poster-container {
    justify-content: center;
  }
  
  .hero-poster {
    max-width: 100%;
    max-height: 70vh;
  }
  
  .nav-links {
    display: none;
  }
}

@media (max-width: 600px) {
  .logo-img {
    height: 32px;
  }
  
  .hero-image {
    max-width: 100%;
  }
  
  .tag {
    font-size: 10px;
    padding: 4px 8px;
  }
}