:root {
  --blue: #0c4da2;
  --blue-dark: #072f66;
  --sky: #17a6df;
  --gold: #f4b32b;
  --sand: #f7f5ef;
  --text: #16324a;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(4, 40, 84, 0.18);
  --radius: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  color: var(--text);
  background: #fff;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.section { padding: 82px 0; }
.section.alt { background: linear-gradient(180deg, #f9fbff 0%, #eef5fb 100%); }
.section-tag {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(23, 166, 223, 0.12);
  color: var(--blue);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
}
h1, h2, h3 { margin: 0 0 14px; line-height: 1.1; }
h1 { font-size: clamp(2.4rem, 5vw, 4.8rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3vw, 3rem); }
h3 { font-size: 1.2rem; }
p { line-height: 1.7; }
.navbar {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
}
.brand { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 700; }
.brand img { width: 54px; height: 54px; object-fit: contain; border-radius: 14px; }
.nav-links { display: flex; gap: 18px; flex-wrap: wrap; }
.nav-links a { color: #fff; font-weight: 600; opacity: .94; }
.hero {
  position: relative;
  min-height: 100vh;
  background: url('../images/portada.jpeg') center center / cover no-repeat;
  color: #fff;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(5, 34, 67, 0.82) 0%, rgba(10, 58, 111, 0.58) 45%, rgba(13, 92, 156, 0.26) 100%);
}
.hero-content {
  position: relative; z-index: 3;
  display: grid; grid-template-columns: 1.25fr .8fr; gap: 36px;
  align-items: center; min-height: calc(100vh - 90px); padding: 32px 0 70px;
}
.eyebrow { font-size: .95rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #dff6ff; }
.hero-subtitle { font-size: 1.2rem; font-weight: 700; color: #ffe8a6; }
.hero-text { max-width: 760px; font-size: 1.05rem; }
.hero-card, .card, .info-panel, .contact-card, .form-card {
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(6px);
  color: var(--text);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-card { padding: 28px; }
.hero-logo { width: min(360px, 100%); margin: 0 auto 18px; }
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.price-card { padding: 22px 16px; text-align: center; border-radius: 22px; color: #fff; }
.price-card.blue { background: linear-gradient(135deg, var(--blue), var(--blue-dark)); }
.price-card.gold { background: linear-gradient(135deg, #f8be37, #e89e11); }
.price { display: block; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; }
.label { font-weight: 700; letter-spacing: .02em; }
.promo-note { margin: 16px 0 0; text-align: center; font-weight: 600; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 24px; border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), #e6a416);
  color: #08284c; font-weight: 800; border: 0; cursor: pointer;
  box-shadow: 0 12px 30px rgba(244, 179, 43, 0.28);
}
.btn:hover { transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.85);
  box-shadow: none;
}
.btn-outline.full, .full { width: 100%; }
.btn-small { min-height: 42px; padding: 0 18px; font-size: .95rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.two-col { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: start; }
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 24px; }
.feature-item, .info-panel li {
  background: #f7fbff; border: 1px solid rgba(12, 77, 162, 0.08);
  padding: 16px; border-radius: 18px; list-style: none;
}
.info-panel { padding: 28px; }
.info-panel ul { padding: 0; margin: 18px 0 24px; display: grid; gap: 12px; }
.cards-grid { display: grid; gap: 20px; margin-top: 26px; }
.cards-grid.two { grid-template-columns: repeat(2, 1fr); }
.cards-grid.three { grid-template-columns: repeat(3, 1fr); }
.card { padding: 26px; }
.speaker-card { border-top: 6px solid var(--gold); }
.card-portrait {
  width: 100%;
  aspect-ratio: 4 / 4.3;
  object-fit: cover;
  object-position: center top;
  border-radius: 18px;
  margin-bottom: 18px;
  background: #eef5fb;
}
.sponsor-logo-card { text-align: center; }
.sponsor-logo {
  width: min(100%, 300px);
  height: 180px;
  object-fit: contain;
  margin: 0 auto 18px;
  border-radius: 18px;
  background: #fff;
  padding: 10px;
}

.organizer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 30px;
}
.organizer-card {
  text-align: center;
  border-top: 5px solid rgba(23, 166, 223, 0.32);
}
.organizer-photo {
  aspect-ratio: 1 / 1.08;
  object-position: center top;
}
.organizer-card h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}
.organizer-card p {
  margin: 0;
  font-weight: 600;
  color: var(--blue);
}

.simple-list { padding-left: 18px; margin: 0; display: grid; gap: 10px; }
.center-text { text-align: center; }
.narrow { max-width: 900px; margin: 0 auto; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.gallery-item {
  border: 0; padding: 0; background: transparent; cursor: pointer;
  border-radius: 22px; overflow: hidden; box-shadow: var(--shadow);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1 / 0.72; transition: transform .35s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.video-wrap {
  position: relative; overflow: hidden; border-radius: 22px; box-shadow: var(--shadow);
  padding-top: 56.25%; background: #000;
}
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.social-card .social-link {
  display: inline-block; margin: 10px 0 18px; font-weight: 700; color: var(--blue);
}
.social-embed { overflow: hidden; border-radius: 18px; margin: 16px 0; }
.sponsor-card { transition: transform .3s ease, box-shadow .3s ease; }
.sponsor-card:hover { transform: translateY(-4px); }
.contact-card, .form-card { padding: 30px; }
.contact-list { display: grid; gap: 12px; margin: 18px 0 0; }
.contact-list a, .contact-list span {
  padding: 14px 16px; background: #f8fbff; border-radius: 16px; font-weight: 600;
}
.form-card { display: grid; gap: 14px; }
.form-card input, .form-card textarea {
  width: 100%; border: 1px solid rgba(12, 77, 162, 0.14); border-radius: 16px;
  padding: 15px 16px; font: inherit; outline: none;
}
.form-card input:focus, .form-card textarea:focus { border-color: var(--sky); }
.floating-whatsapp {
  position: fixed; right: 18px; bottom: 18px; width: 62px; height: 62px;
  display: grid; place-items: center; background: #25d366; color: #fff;
  border-radius: 50%; box-shadow: 0 15px 30px rgba(37, 211, 102, 0.35); z-index: 30;
}
.floating-whatsapp svg { width: 31px; height: 31px; }
.lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,0.9); display: none;
  align-items: center; justify-content: center; padding: 24px; z-index: 50;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1200px, 92vw); max-height: 88vh; border-radius: 18px; }
.lightbox-close {
  position: absolute; top: 16px; right: 18px; background: transparent; color: #fff;
  border: 0; font-size: 2.4rem; cursor: pointer;
}
.audio-banner {
  position: fixed; left: 16px; bottom: 16px; z-index: 40;
  display: flex; align-items: center; gap: 16px; padding: 14px 16px;
  border-radius: 18px; background: rgba(7, 47, 102, 0.92); color: #fff;
  box-shadow: var(--shadow);
}
.audio-banner.hidden { display: none; }
.audio-banner span { display: block; font-size: .88rem; opacity: .85; }
.footer { background: #061d3c; color: rgba(255,255,255,0.88); padding: 28px 0; }
.footer-content { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.fade-in { animation: fadeUp .8s ease both; }
.delay-1 { animation-delay: .15s; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 991px) {
  .hero-content, .two-col, .cards-grid.three, .video-grid, .gallery-grid, .cards-grid.two {
    grid-template-columns: 1fr 1fr;
  }
  .hero-content { align-items: end; }
  .nav-links { display: none; }
}
@media (max-width: 767px) {
  .hero { min-height: auto; }
  .hero-content, .two-col, .cards-grid.three, .video-grid, .gallery-grid, .cards-grid.two, .feature-list, .pricing-grid {
    grid-template-columns: 1fr;
  }
  .hero-content { padding-top: 20px; }
  .section { padding: 68px 0; }
  .audio-banner {
    left: 12px; right: 12px; bottom: 12px; flex-direction: column; align-items: stretch;
  }
  .footer-content { flex-direction: column; }
}
