:root {
  --bg-main: #f7f8fc;
  --bg-alt: #ffffff;
  --bg-card: #ffffff;

  --primary: #36a9a0;   /* teal */
  --primary-soft: #c6e9e5;
  --secondary: #b566a7; /* violeta rosado */
  --accent: #f49fb8;    /* rosa suave */

  --text-main: #283044;
  --text-muted: #6b7280;
  --border-soft: #e1e4f0;

  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.08);
  --radius-lg: 20px;
  --radius-md: 14px;

  --max-width: 1120px;
}

/* Reset básico */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--text-main);
  line-height: 1.6;
  background:
    radial-gradient(circle at 50% -120px, #f1f7fb 0, transparent 70%),
    radial-gradient(circle at 50% calc(100% + 120px), #fde6f0 0, transparent 70%),
    var(--bg-main);
}

/* Layout helpers */

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

/* Navbar */

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(209, 213, 219, 0.6);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-main {
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--primary);
}

.logo-sub {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.9rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  position: relative;
  padding-bottom: 3px;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-image: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 999px;
  transition: width 0.2s ease;
}

.nav-links a:hover {
  color: var(--text-main);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Botón hamburguesa (mobile) */

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
}

.nav-toggle-bar {
  width: 22px;
  height: 2px;
  background: var(--text-main);
  border-radius: 999px;
  display: block;
  margin: 4px 0;
}

p a {
  color: var(--primary);      /* mismo color institucional */
  font-weight: 500;
  text-decoration: none;      /* saca azul y subrayado */
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

p a:hover {
  color: var(--secondary);    /* hover suave */
  text-decoration: underline; /* opcional, queda lindo */
}

li a {
  color: var(--primary);      /* mismo color institucional */
  font-weight: 500;
  text-decoration: none;      /* saca azul y subrayado */
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

li a:hover {
  color: var(--secondary);    /* hover suave */
  text-decoration: underline; /* opcional, queda lindo */
}



/* Hero */

.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  justify-content: center;
  background: #fdfbff;
}

/* overlay desactivado para no lavar colores del banner */
.hero-overlay {
  display: none;
}

/* degradé suave por debajo del banner */
.hero::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 1) 100%
  );
  pointer-events: none;
}

/* Banner como background-image, ocupando todo el ancho */
.hero-banner {
  width: 100%;
  height: 600px; /* ← Ajustá a gusto */
  background-image: url("imgs/banner.png");
  background-size: contain;       /* 👈 muestra la imagen COMPLETA */
  background-position: top center;
  background-repeat: no-repeat;
  background-color: white;        /* 👈 rellena donde no llega la imagen */
  position: relative;
  z-index: 3;
}



/* Secciones */

.section {
  padding: 4rem 0;
}

.section-alt {
  background-color: rgba(255, 255, 255, 0.8);
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header-small {
  text-align: left;
  margin-bottom: 1.5rem;
}

.section-header h2 {
  font-size: 1.7rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  color: transparent;
}

.section-header p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Cards */

.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 2rem;
  border: 1px solid rgba(209, 213, 219, 0.6);
}

.card-large {
  padding: 2.5rem 2.5rem;
}

.card-compact {
  padding: 1.6rem 1.7rem;
}

.card h2,
.card h3 {
  margin-bottom: 0.75rem;
}

.card p {
  font-size: 0.95rem;
  color: var(--text-main);
}

.card + .card {
  margin-top: 1.8rem;
}

.card-list {
  list-style: none;
  margin-top: 0.5rem;
}

.card-list li {
  position: relative;
  padding-left: 1.3rem;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: var(--text-main);
}

.card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.53rem;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background-image: radial-gradient(circle, var(--primary) 0, var(--secondary) 100%);
}

/* Tracks grid */

.tracks-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem;
}

.track-card {
  position: relative;
  overflow: hidden;
}

.track-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(196, 241, 236, 0.7), transparent 60%);
  opacity: 0.8;
  pointer-events: none;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.55rem 1.35rem;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  margin-top: 0.9rem;
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.btn-primary {
  background-image: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(54, 169, 160, 0.35);
}

.btn-secondary {
  background-image: linear-gradient(135deg, var(--secondary), var(--accent));
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(181, 102, 167, 0.35);
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
}

/* Timeline */

.timeline {
  position: relative;
  margin-top: 1rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--secondary));
  opacity: 0.4;
}

.timeline-item {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  column-gap: 1.5rem;
  padding-left: 1.9rem;
  margin-bottom: 1.5rem;
}

.timeline-date {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--primary);
}

.timeline-content {
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-md);
  padding: 0.9rem 1rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(209, 213, 219, 0.8);
  position: relative;
}

.timeline-content::before {
  content: "";
  position: absolute;
  left: -1.12rem;
  top: 0.85rem;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #ffffff;
  border: 2px solid var(--primary);
}

.timeline-content h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.timeline-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  font-style: italic;
}

.timeline-note a {
  color: var(--primary);           /* mismo color que tus títulos degradados */
  text-decoration: none;           /* saca el azul y el subrayado */
  font-weight: 500;
}

.timeline-note a:hover {
  color: var(--secondary);         /* hover suave */
  text-decoration: underline;      /* opcional */
}



/* Organizers */

.organizers {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Footer */

.footer {
  padding: 1.8rem 0 2rem;
  border-top: 1px solid rgba(209, 213, 219, 0.6);
  background: rgba(255, 255, 255, 0.9);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.back-to-top {
  text-decoration: none;
  color: var(--primary);
  font-weight: 500;
}

/* Code blocks inline */

code {
  background: #e5edf8;
  padding: 0.12rem 0.25rem;
  border-radius: 4px;
  font-size: 0.85em;
}

/* Responsivo */

@media (max-width: 900px) {
  .tracks-grid {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    padding-left: 1.4rem;
  }

  .timeline-date {
    margin-bottom: 0.3rem;
  }

  .card-large {
    padding: 2rem 1.8rem;
  }
}

@media (max-width: 768px) {
  .navbar-inner {
    height: 60px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    inset-inline: 0;
    top: 60px;
    display: none;
    flex-direction: column;
    gap: 0;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(209, 213, 219, 0.8);
  }

  .nav-links a {
    padding: 0.75rem 1.5rem;
  }

  .nav-links.show {
    display: flex;
  }

  .section {
    padding: 3rem 0;
  }

  .hero-banner {
    height: 300px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .card,
  .card-large,
  .card-compact {
    padding: 1.4rem 1.3rem;
  }

  .section-header h2 {
    font-size: 1.45rem;
  }

  .hero-banner {
    height: 240px;
  }
}
