:root {
  --bg: #020d12;
  --bg-soft: #082e37;
  --surface: #0a2229;
  --surface-light: #113741;
  --text: #f2fbff;
  --text-soft: #c7e4ec;
  --line: #2c6b79;
  --accent: #3995b5;
  --accent-soft: #4bb8d1;
  --mustard: #f6d113;
  --mustard-soft: #ffe169;
  --container: 1120px;
  --radius: 1rem;
  --radius-sm: 0.75rem;
  --shadow: 0 10px 30px rgb(3 8 16 / 35%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background:
    radial-gradient(circle at 85% 10%, rgb(75 184 209 / 15%), transparent 34%),
    radial-gradient(circle at 0% 45%, rgb(246 209 19 / 8%), transparent 36%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 10;
  background: var(--mustard);
  color: #1b1404;
  padding: 0.4rem 0.7rem;
  border-radius: 0.4rem;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.section {
  padding: 4rem 0;
}

.section-alt {
  background: linear-gradient(180deg, rgb(8 37 44 / 84%), rgb(5 22 27 / 52%));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
  background: rgb(4 18 22 / 90%);
  border-bottom: 1px solid rgb(75 184 209 / 30%);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
}

.brand-logo {
  width: 2.35rem;
  height: 2.35rem;
  object-fit: contain;
}

.main-nav {
  position: fixed;
  inset: 72px 0 auto 0;
  background: rgb(5 23 28 / 96%);
  border-bottom: 1px solid var(--line);
  display: none;
  flex-direction: column;
  padding: 1rem;
  gap: 0.85rem;
}

.main-nav a {
  color: var(--text-soft);
  font-weight: 500;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--text);
}

.main-nav.is-open {
  display: flex;
}

.menu-toggle {
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: transparent;
  color: var(--text);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.24rem;
  padding: 0.45rem;
  cursor: pointer;
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  background: var(--text);
}

.hero {
  padding-top: 4.4rem;
  padding-bottom: 0.4rem;
}

.hero-grid,
.speakers-grid {
  display: grid;
  gap: 1.4rem;
}

.hero-copy {
  max-width: 40rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 0.75rem 0;
  padding: 0.25rem 0.65rem;
  border: 1px solid rgb(75 184 209 / 40%);
  border-radius: 999px;
  color: var(--accent-soft);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

h1,
h2,
h3 {
  margin: 0 0 0.75rem;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 9vw, 3.6rem);
}

.hero-title-text {
  display: inline;
}

.hero-title-logo {
  display: none;
  width: min(100%, 340px);
  margin-inline: auto;
}

.hero-fullname {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  color: #d8eef5;
  font-weight: 600;
  letter-spacing: 0.01em;
}

h2 {
  font-size: clamp(1.5rem, 5vw, 2.5rem);
}

.hero-lead {
  font-size: 1.08rem;
  color: #dcf4fb;
}

p {
  margin-top: 0;
  color: var(--text-soft);
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-weight: 700;
  border-radius: 0.7rem;
  padding: 0.78rem 1rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, opacity 0.2s ease, border-color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(145deg, var(--mustard), var(--mustard-soft));
  color: #111111;
}

.btn-secondary {
  background: rgb(13 61 72 / 85%);
  border-color: rgb(75 184 209 / 40%);
  color: var(--text);
}

.hero-media {
  display: grid;
  place-items: center;
}

.hero-logo {
  width: min(100%, 560px);
  margin-inline: auto;
}

.hero-stats {
  margin-top: 1rem;
}

.hero-facts {
  display: grid;
  gap: 0.7rem;
}

.fact-card {
  border: 1px solid rgb(75 184 209 / 22%);
  background: rgb(8 40 47 / 55%);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.8rem;
  display: grid;
  gap: 0.1rem;
}

.fact-value {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--mustard);
  line-height: 1.1;
}

.fact-label {
  font-size: 0.93rem;
  color: #d8eef5;
}

.image-placeholder {
  min-height: 220px;
  border: 1px dashed rgb(75 184 209 / 40%);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgb(255 255 255 / 3%), rgb(255 255 255 / 0%)),
    var(--surface);
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--accent-soft);
  font-weight: 600;
  padding: 1rem;
}

.section-heading {
  max-width: 800px;
  margin-bottom: 1.5rem;
}

.info-note {
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
  color: #d8eef5;
}

.about-grid,
.topics-grid {
  display: grid;
  gap: 1rem;
}

.info-card,
.topic-card {
  background: linear-gradient(165deg, var(--surface-light), var(--surface));
  border: 1px solid rgb(75 184 209 / 20%);
  border-radius: var(--radius);
  padding: 1.1rem;
  box-shadow: var(--shadow);
}

.info-card.highlight {
  border-color: rgb(246 209 19 / 62%);
}

.about-media {
  margin-top: 1.2rem;
}

.venue-card {
  background: linear-gradient(165deg, rgb(18 57 66), rgb(12 42 49));
  border: 1px solid rgb(75 184 209 / 25%);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.2rem;
}

.venue-card h3 {
  margin-bottom: 0.7rem;
}

.venue-card p:last-child {
  margin-bottom: 0;
}

.speakers-image {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid rgb(75 184 209 / 24%);
  box-shadow: var(--shadow);
  object-fit: cover;
}

/* Sponsor tier cards */
.tier-bronce  { --tier-color: #c87533; }
.tier-plata   { --tier-color: #94a3b8; }
.tier-oro     { --tier-color: #f6d113; }
.tier-platino { --tier-color: #4bb8d1; }
.tier-diamante { --tier-color: #e2f5ff; }

.sponsor-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.sponsor-card {
  background: linear-gradient(165deg, var(--surface-light), var(--surface));
  border: 1px solid rgb(75 184 209 / 18%);
  border-top: 3px solid var(--tier-color, var(--accent));
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.sponsor-card-head {
  margin-bottom: 0.9rem;
}

.tier-name {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--tier-color);
  margin-bottom: 0.25rem;
}

.tier-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
  margin: 0;
  line-height: 1.1;
}

.tier-plus {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-soft);
  margin: 0 0 0.55rem;
  opacity: 0.85;
}

.tier-perks {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.48rem;
}

.tier-perks li {
  position: relative;
  padding-left: 1.3rem;
  font-size: 0.87rem;
  color: var(--text-soft);
  line-height: 1.35;
}

.tier-perks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--tier-color);
}

.tier-deadline {
  margin: 0.85rem 0 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--mustard-soft);
  padding-top: 0.65rem;
  border-top: 1px solid rgb(75 184 209 / 15%);
}

.sponsors-notes {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid rgb(75 184 209 / 20%);
  border-radius: var(--radius-sm);
  background: rgb(8 36 43 / 45%);
}

.sponsors-notes p {
  margin-bottom: 0.55rem;
  font-size: 0.94rem;
}

.sponsors-notes p:last-child {
  margin-bottom: 0;
}

.sponsor-contact {
  margin-top: 1rem;
  font-weight: 600;
  color: #ebf5ff;
}

.sponsor-contact a {
  color: var(--mustard-soft);
}

.site-footer {
  border-top: 1px solid rgb(75 184 209 / 20%);
  padding: 1.3rem 0;
  background: rgb(6 29 34 / 78%);
}

.footer-content {
  display: grid;
  gap: 0.25rem;
}

.footer-content p {
  margin: 0;
  color: #a8c0dc;
  font-size: 0.94rem;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 719px) {
  .hero-copy {
    text-align: center;
    margin-inline: auto;
  }

  .hero .eyebrow {
    margin-inline: auto;
  }

  .hero-title-text {
    display: none;
  }

  .hero-title-logo {
    display: block;
    width: min(100%, 440px);
  }

  .hero-media {
    display: none;
  }

  .hero-copy p {
    margin-inline: auto;
  }

  .hero-lead {
    font-size: 1.02rem;
  }

  .hero-cta {
    margin-top: 1.1rem;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .hero-logo {
    width: min(100%, 520px);
  }

  .hero-stats {
    margin-top: 0.8rem;
  }

  .hero-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .fact-card {
    padding: 0.6rem 0.5rem;
    text-align: center;
  }

  .fact-value {
    font-size: 1.08rem;
  }

  .fact-label {
    font-size: 0.78rem;
    line-height: 1.25;
  }
}

@media (min-width: 720px) {
  .sponsor-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .sponsor-card {
    flex: 1 1 200px;
    max-width: 240px;
  }
}

@media (min-width: 1060px) {
  .sponsor-cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
  }

  .sponsor-card {
    max-width: none;
    flex: initial;
  }
}

@media (min-width: 720px) {
  .menu-toggle {
    display: none;
  }

  .main-nav {
    position: static;
    display: inline-flex;
    flex-direction: row;
    padding: 0;
    background: transparent;
    border: 0;
    gap: 1.1rem;
  }

  .hero-cta {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 1.8rem;
  }

  .hero-facts {
    grid-template-columns: repeat(3, 1fr);
  }

  .speakers-grid {
    grid-template-columns: 1fr 0.9fr;
    align-items: center;
  }

  .about-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .topics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .image-placeholder {
    min-height: 320px;
  }
}
