:root {
  --ink: #071427;
  --navy: #061427;
  --navy-soft: #0d2442;
  --blue: #0b60c8;
  --sky: #4fb5de;
  --copper: #d78f3d;
  --coral: #e56959;
  --paper: #f4f8fb;
  --white: #ffffff;
  --line: #d8e1e8;
  --muted: #526173;
  --max: 1180px;
  --radius: 8px;
  --shadow: 0 18px 48px rgba(5, 18, 39, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Source Sans 3", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: 0;
}

body.nav-open,
body.lightbox-open {
  overflow: hidden;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "Sora", sans-serif;
  letter-spacing: 0;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  transform: translateY(-150%);
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-width {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.view {
  min-height: calc(100vh - 76px);
  padding-top: 76px;
}

.view.is-active {
  animation: view-in 420ms ease both;
}

@keyframes view-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 76px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(6, 20, 39, 0.96);
  color: var(--white);
  transition: box-shadow 240ms ease, background 240ms ease;
}

.site-header.is-scrolled {
  background: rgba(6, 20, 39, 0.99);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 218px;
  text-decoration: none;
}

.brand img {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  object-fit: cover;
}

.brand span {
  display: grid;
  line-height: 1.12;
}

.brand strong {
  font-family: "Sora", sans-serif;
  font-size: 0.95rem;
}

.brand small {
  margin-top: 4px;
  color: #aac5df;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.62rem;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 5px;
  color: #dceaf6;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease;
}

.main-nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.main-nav a[aria-current="page"] {
  color: var(--white);
}

.main-nav a[aria-current="page"]::after {
  position: absolute;
  right: 12px;
  bottom: 1px;
  left: 12px;
  height: 2px;
  background: var(--copper);
  content: "";
}

.main-nav .nav-cta {
  gap: 7px;
  margin-left: 6px;
  background: var(--copper);
  color: #132033;
  font-weight: 800;
}

.main-nav .nav-cta:hover {
  background: #edaa5d;
  color: #132033;
}

.main-nav .nav-cta[aria-current="page"]::after {
  display: none;
}

.main-nav svg,
.btn svg,
.text-link svg,
.event-bar svg,
.facts-grid svg,
.expect-grid svg,
.option-card svg,
.fila-cero-band svg,
.program-note svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

.nav-toggle {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.hero {
  position: relative;
  display: grid;
  align-items: start;
  min-height: 72vh;
  min-height: 72svh;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 15, 34, 0.97) 0%, rgba(4, 15, 34, 0.87) 34%, rgba(4, 15, 34, 0.35) 68%, rgba(4, 15, 34, 0.2) 100%),
    linear-gradient(0deg, rgba(4, 15, 34, 0.48) 0%, rgba(4, 15, 34, 0) 42%),
    url("./assets/photos/hero-comunidad.jpg") center 44% / cover no-repeat;
  transform: scale(1.01);
  animation: hero-focus 11s ease-out both;
}

@keyframes hero-focus {
  from { transform: scale(1.045); }
  to { transform: scale(1.01); }
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 48px), var(--max));
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 70px;
  padding-right: 48%;
  padding-bottom: 70px;
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--copper);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: #a45c14;
}

.hero h1 {
  max-width: 700px;
  margin-bottom: 12px;
  font-size: 4.55rem;
  line-height: 0.98;
}

.hero h1 span {
  display: block;
  color: #77c7ec;
}

.hero-kicker {
  margin-bottom: 20px;
  color: var(--copper);
  font-family: "Sora", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.hero-lead {
  max-width: 620px;
  margin-bottom: 28px;
  color: #e3edf6;
  font-size: 1.15rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--copper);
  color: #132033;
  box-shadow: 0 10px 28px rgba(215, 143, 61, 0.24);
}

.btn-primary:hover {
  background: #edaa5d;
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(6, 20, 39, 0.54);
  color: var(--white);
  backdrop-filter: blur(8px);
}

.btn-light {
  background: var(--white);
  color: var(--navy);
}

.event-bar {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 0.7fr repeat(3, 1fr);
  width: min(100%, var(--max));
  margin: 0 auto;
  background: var(--white);
  box-shadow: var(--shadow);
}

.event-bar > div {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 105px;
  padding: 20px 24px;
  border-right: 1px solid var(--line);
}

.event-bar > div:last-child {
  border-right: 0;
}

.event-bar svg {
  color: var(--blue);
}

.event-bar span {
  display: grid;
  color: var(--muted);
  font-size: 0.9rem;
}

.event-bar span strong {
  color: var(--ink);
  font-size: 1rem;
}

.event-countdown {
  flex-direction: column;
  align-items: flex-start !important;
  gap: 0 !important;
  background: var(--navy);
  color: var(--white);
}

.event-countdown strong {
  color: var(--copper);
  font-family: "Sora", sans-serif;
  font-size: 2.8rem;
  line-height: 1;
}

.event-countdown span {
  color: #d7e5f1;
}

.home-intro {
  padding: 104px 0 112px;
}

.section-heading {
  max-width: 780px;
}

.section-heading h2,
.sponsor-heading h2,
.preview-copy h2,
.story-copy h2,
.what-to-expect h2,
.program-note h2,
.speaker-cta h2,
.faq-section h2 {
  margin-bottom: 18px;
  font-size: 2.65rem;
  line-height: 1.14;
}

.section-heading > p:last-child,
.sponsor-meta p,
.preview-copy > p,
.story-copy > p,
.simple-page-head > p:last-child {
  color: var(--muted);
  font-size: 1.08rem;
}

.experience-ledger {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 54px;
  border-top: 1px solid #b8c8d6;
  border-bottom: 1px solid #b8c8d6;
}

.experience-ledger article {
  position: relative;
  min-height: 285px;
  padding: 30px;
  border-right: 1px solid #b8c8d6;
}

.experience-ledger article:last-child {
  border-right: 0;
}

.experience-ledger article > span {
  position: absolute;
  top: 24px;
  right: 24px;
  color: #8aa0b3;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
}

.experience-ledger svg {
  width: 34px;
  height: 34px;
  margin-bottom: 56px;
  color: var(--blue);
}

.experience-ledger h3 {
  margin-bottom: 9px;
  font-size: 1.35rem;
}

.experience-ledger p {
  margin-bottom: 0;
  color: var(--muted);
}

.editorial-preview {
  padding: 96px 0;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}

.preview-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  align-items: center;
  gap: 70px;
}

.preview-copy > p {
  color: #b8cbdb;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  color: var(--copper);
  font-weight: 800;
  text-decoration: none;
}

.preview-photos {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: 190px 190px;
  gap: 12px;
}

.preview-photos img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  object-fit: cover;
}

.preview-photos img:first-child {
  grid-row: 1 / 3;
}

.sponsor-section {
  padding: 92px 0 104px;
  overflow: hidden;
  background: var(--white);
}

.sponsor-heading {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  align-items: end;
  gap: 60px;
  margin-bottom: 46px;
}

.sponsor-heading h2 {
  margin-bottom: 0;
}

.sponsor-meta {
  display: flex;
  align-items: flex-end;
  gap: 18px;
}

.sponsor-meta p {
  flex: 1;
  margin-bottom: 4px;
}

.marquee-control {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 1px solid #b8c8d6;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
}

.marquee-control svg {
  width: 18px;
  height: 18px;
}

.logo-marquee {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #f9fbfd;
}

.logo-marquee::before,
.logo-marquee::after {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: 90px;
  content: "";
  pointer-events: none;
}

.logo-marquee::before {
  left: 0;
  background: linear-gradient(90deg, #f9fbfd, rgba(249, 251, 253, 0));
}

.logo-marquee::after {
  right: 0;
  background: linear-gradient(270deg, #f9fbfd, rgba(249, 251, 253, 0));
}

.logo-track {
  display: flex;
  width: max-content;
  animation: marquee 34s linear infinite;
}

.logo-track.is-paused {
  animation-play-state: paused !important;
}

.logo-set {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 16px;
  padding: 22px 0;
  padding-right: 16px;
}

.logo-set figure {
  display: grid;
  place-items: center;
  flex: 0 0 176px;
  width: 176px;
  height: 104px;
  margin: 0;
  padding: 18px 22px;
  overflow: hidden;
  border: 1px solid #e3e9ef;
  border-radius: 6px;
  background: var(--white);
  line-height: 0;
}

.logo-set img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 66px;
  object-fit: contain;
  object-position: center;
  transform: scale(var(--logo-scale, 1));
  transform-origin: center;
}

.logo-set img[src$="biofresh.jpg"],
.logo-set img[src$="jocaval.jpg"],
.logo-set img[src$="gerolamo.jpg"],
.logo-set img[src$="drag-pharma.jpg"] {
  --logo-scale: 1.38;
}

.logo-set img[src$="vitanimal.jpg"] {
  --logo-scale: 1.34;
}

.logo-set img[src$="veterinaria-roco.jpg"] {
  --logo-scale: 1.2;
}

.logo-set img[src$="insupharma.jpg"] {
  --logo-scale: 1.14;
}

.logo-set img[src$="msd-animal-health.jpg"] {
  --logo-scale: 1.08;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.page-hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 430px;
  overflow: hidden;
  color: var(--white);
}

.congress-hero {
  background:
    linear-gradient(90deg, rgba(5, 18, 39, 0.94) 0%, rgba(5, 18, 39, 0.64) 52%, rgba(5, 18, 39, 0.22) 100%),
    url("./assets/photos/casino-ovalle.jpg") center 42% / cover no-repeat;
}

.page-hero-copy {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
  padding: 74px 0;
}

.page-hero h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: 3.7rem;
  line-height: 1.04;
}

.page-hero-copy > p:last-child {
  max-width: 680px;
  margin-bottom: 0;
  color: #e0ebf4;
  font-size: 1.18rem;
}

.page-content {
  padding: 78px 0 112px;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 104px;
  border: 1px solid var(--line);
  background: var(--white);
}

.facts-grid article {
  display: grid;
  min-height: 170px;
  padding: 26px;
  border-right: 1px solid var(--line);
}

.facts-grid article:last-child {
  border-right: 0;
}

.facts-grid svg {
  margin-bottom: 24px;
  color: var(--blue);
}

.facts-grid span {
  color: var(--muted);
  font-size: 0.88rem;
}

.facts-grid strong {
  align-self: end;
  font-family: "Sora", sans-serif;
  font-size: 1.12rem;
}

.congress-story {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 70px;
}

.story-photo {
  position: relative;
  margin: 0;
}

.story-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  object-fit: cover;
}

.story-photo figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  max-width: 280px;
  padding: 12px 15px;
  border-radius: 5px;
  background: rgba(6, 20, 39, 0.92);
  color: var(--white);
  font-size: 0.9rem;
}

.organizers {
  display: grid;
  gap: 4px;
  margin-top: 30px;
  padding: 18px 0;
  border-top: 1px solid #b8c8d6;
  border-bottom: 1px solid #b8c8d6;
}

.organizers span {
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  text-transform: uppercase;
}

.what-to-expect {
  margin-top: 120px;
}

.expect-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 44px;
  border-top: 1px solid #b8c8d6;
}

.expect-grid article {
  min-height: 245px;
  padding: 28px 24px;
  border-right: 1px solid #b8c8d6;
  border-bottom: 1px solid #b8c8d6;
}

.expect-grid article:first-child {
  border-left: 1px solid #b8c8d6;
}

.expect-grid svg {
  width: 30px;
  height: 30px;
  margin-bottom: 48px;
  color: var(--coral);
}

.expect-grid h3 {
  margin-bottom: 9px;
  font-size: 1.13rem;
}

.expect-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.simple-page-head {
  padding-top: 88px;
  padding-bottom: 56px;
}

.simple-page-head h1 {
  max-width: 900px;
  margin-bottom: 20px;
  font-size: 3.65rem;
  line-height: 1.05;
}

.simple-page-head > p:last-child {
  max-width: 720px;
}

.program-view {
  padding-bottom: 110px;
  background: #edf3f7;
}

.program-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 24px;
}

.day-panel {
  overflow: hidden;
  border: 1px solid #17375c;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow);
}

.day-panel summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 92px;
  padding: 20px 24px;
  list-style: none;
  cursor: pointer;
}

.day-panel summary::-webkit-details-marker {
  display: none;
}

.day-panel summary span {
  display: grid;
  font-family: "Sora", sans-serif;
  font-size: 1.14rem;
  font-weight: 700;
}

.day-panel summary small {
  margin-bottom: 3px;
  color: var(--copper);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.69rem;
  text-transform: uppercase;
}

.day-panel summary svg {
  transition: transform 180ms ease;
}

.day-panel[open] summary svg {
  transform: rotate(180deg);
}

.timeline {
  padding: 0 18px 18px;
}

.timeline > div {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 16px;
  padding: 16px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.timeline > div.activity {
  margin: 5px 0;
  border-top: 0;
  border-radius: 5px;
  background: rgba(215, 143, 61, 0.12);
}

.timeline time {
  color: #87c6e5;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  font-weight: 600;
}

.timeline p,
.timeline strong,
.timeline small {
  display: block;
  margin: 0;
}

.timeline strong {
  font-size: 0.94rem;
}

.timeline small {
  margin-top: 3px;
  color: #b7c8d8;
  font-size: 0.82rem;
}

.program-note {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  margin-top: 42px;
  padding: 38px;
  border-radius: var(--radius);
  background: #132f52;
  color: var(--white);
}

.program-note h2 {
  margin-bottom: 0;
  font-size: 2rem;
}

.program-note ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.program-note li {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 74px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 5px;
}

.program-note li svg {
  color: var(--copper);
}

.program-note li span {
  display: grid;
  color: #bcd0e1;
  font-size: 0.82rem;
}

.program-note li strong {
  color: var(--white);
  font-size: 0.9rem;
}

.speakers-view,
.memories-view {
  padding-bottom: 110px;
}

.speakers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.speaker-card {
  position: relative;
  height: 500px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
}

.speaker-card::after {
  position: absolute;
  inset: auto 0 0;
  height: 72%;
  background: linear-gradient(
    to top,
    rgba(4, 15, 32, 0.98) 0%,
    rgba(4, 15, 32, 0.88) 20%,
    rgba(4, 15, 32, 0.58) 48%,
    rgba(4, 15, 32, 0.16) 72%,
    rgba(4, 15, 32, 0) 100%
  );
  content: "";
  pointer-events: none;
}

.speaker-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 420ms ease;
}

.speaker-card--cesar img {
  object-position: 51% center;
}

.speaker-card--christel img {
  object-position: center 35%;
}

.speaker-card--lina img {
  object-position: 48% center;
}

.speaker-card--enzo img {
  object-position: center 30%;
}

.speaker-card:hover img {
  transform: scale(1.025);
}

.speaker-card div {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 26px;
}

.speaker-card span,
.speaker-card small {
  color: var(--copper);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
}

.speaker-card h2 {
  margin: 7px 0 4px;
  font-size: 1.7rem;
  line-height: 1.05;
}

.speaker-card p {
  margin-bottom: 12px;
  color: #c9d9e6;
}

.speaker-card small {
  color: #8fc5e1;
}

.speaker-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 48px;
  padding: 30px 34px;
  border: 1px solid #17375c;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
}

.speaker-cta h2 {
  margin-bottom: 0;
  font-size: 1.65rem;
}

.gallery {
  display: grid;
  grid-auto-rows: 260px;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-flow: dense;
  gap: 14px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
  cursor: zoom-in;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item::after {
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(0deg, rgba(3, 13, 28, 0.86), rgba(3, 13, 28, 0));
  content: "";
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.gallery-item:hover img {
  transform: scale(1.035);
}

.gallery-item span {
  position: absolute;
  z-index: 2;
  right: 20px;
  bottom: 17px;
  left: 20px;
  font-family: "Sora", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
}

.lightbox {
  position: fixed;
  z-index: 180;
  inset: 0;
  display: none;
  place-items: center;
  padding: 24px;
}

.lightbox.is-open {
  display: grid;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(2, 10, 22, 0.94);
  cursor: zoom-out;
}

.lightbox-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  align-items: center;
  gap: 15px;
  width: min(100%, 1180px);
  max-height: calc(100vh - 48px);
}

.lightbox figure {
  display: grid;
  gap: 12px;
  margin: 0;
}

.lightbox figure img {
  width: 100%;
  max-height: calc(100vh - 110px);
  border-radius: var(--radius);
  object-fit: contain;
}

.lightbox figcaption {
  color: #dce8f2;
  text-align: center;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: rgba(6, 20, 39, 0.88);
  color: var(--white);
  cursor: pointer;
}

.lightbox-close {
  position: absolute;
  z-index: 3;
  top: 12px;
  right: 12px;
}

.registration-view {
  padding-bottom: 112px;
}

.registration-head {
  padding: 88px 0 80px;
  background: var(--navy);
  color: var(--white);
}

.registration-head h1 {
  max-width: 860px;
  margin-bottom: 18px;
  font-size: 3.75rem;
  line-height: 1.04;
}

.registration-head .page-width > p:last-child {
  max-width: 680px;
  margin-bottom: 0;
  color: #c6d6e4;
  font-size: 1.13rem;
}

.registration-content {
  padding-top: 72px;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.option-card {
  display: flex;
  flex-direction: column;
  min-height: 560px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 36px rgba(5, 18, 39, 0.08);
}

.option-card.featured {
  border-color: #18395f;
  background: #102c4d;
  color: var(--white);
}

.option-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 28px;
  border-radius: 50%;
  background: #e8f2f9;
  color: var(--blue);
}

.featured .option-icon {
  background: rgba(255, 255, 255, 0.1);
  color: var(--copper);
}

.option-icon svg {
  width: 26px;
  height: 26px;
}

.option-card h2 {
  margin-bottom: 14px;
  font-size: 2rem;
}

.option-description {
  min-height: 78px;
  color: var(--muted);
}

.featured .option-description {
  color: #c4d5e4;
}

.option-card h3 {
  margin: 15px 0 12px;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.option-card ul {
  display: grid;
  gap: 11px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.option-card li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
}

.option-card li svg {
  color: var(--blue);
}

.featured li {
  color: #e0ebf4;
}

.featured li svg {
  color: var(--copper);
}

.option-card .btn {
  width: 100%;
  margin-top: auto;
}

.fila-cero-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 26px;
  padding: 26px 30px;
  border: 1px solid #b9ccdc;
  border-radius: var(--radius);
  background: #e6f0f7;
}

.fila-cero-band > div {
  display: flex;
  align-items: center;
  gap: 15px;
}

.fila-cero-band > div > svg {
  width: 31px;
  height: 31px;
  color: var(--blue);
}

.fila-cero-band span {
  display: grid;
  color: var(--muted);
}

.fila-cero-band strong {
  color: var(--ink);
  font-family: "Sora", sans-serif;
}

.faq-section {
  display: grid;
  grid-template-columns: 0.68fr 1.32fr;
  gap: 70px;
  margin-top: 110px;
}

.faq-list {
  border-top: 1px solid #b8c8d6;
}

.faq-list details {
  border-bottom: 1px solid #b8c8d6;
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 70px;
  padding: 16px 0;
  list-style: none;
  font-family: "Sora", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary svg {
  width: 20px;
  transition: transform 180ms ease;
}

.faq-list details[open] summary svg {
  transform: rotate(180deg);
}

.faq-list details p {
  max-width: 650px;
  padding: 0 34px 22px 0;
  color: var(--muted);
}

.site-footer {
  padding: 60px 0 24px;
  background: #040f20;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 70px;
  padding-bottom: 44px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-brand img {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  object-fit: cover;
}

.footer-brand p {
  margin-bottom: 0;
  color: #b9cbd9;
}

.footer-grid > div:not(.footer-brand) {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-grid span {
  margin-bottom: 7px;
  color: var(--copper);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.footer-grid a {
  color: #d9e6ef;
  text-decoration: none;
}

.footer-grid a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #8fa6b8;
  font-size: 0.82rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms ease, transform 650ms ease;
  transition-delay: calc(var(--stagger, 0) * 90ms);
}

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

[data-stagger="1"] { --stagger: 1; }
[data-stagger="2"] { --stagger: 2; }
[data-stagger="3"] { --stagger: 3; }

@media (max-width: 1080px) {
  .site-header {
    padding-inline: 24px;
  }

  .nav-toggle {
    display: grid;
  }

  .main-nav {
    position: fixed;
    z-index: 105;
    top: 76px;
    right: 0;
    bottom: 0;
    display: grid;
    align-content: start;
    width: min(380px, 88vw);
    padding: 22px;
    background: #07172c;
    box-shadow: -18px 0 45px rgba(0, 0, 0, 0.24);
    transform: translateX(105%);
    transition: transform 240ms ease;
  }

  .main-nav.is-open {
    transform: translateX(0);
  }

  .main-nav a {
    justify-content: flex-start;
    min-height: 52px;
    padding-inline: 15px;
    font-size: 1rem;
  }

  .main-nav .nav-cta {
    margin: 8px 0 0;
  }

  .hero-copy {
    max-width: none;
    padding-right: 40%;
  }

  .hero h1 {
    font-size: 3.8rem;
  }

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

  .event-bar > div:nth-child(2) {
    border-right: 0;
  }

  .event-bar > div:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .preview-grid,
  .congress-story,
  .faq-section {
    grid-template-columns: 1fr;
  }

  .preview-copy {
    max-width: 720px;
  }

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

  .facts-grid article:nth-child(2) {
    border-right: 0;
  }

  .facts-grid article:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .expect-grid article:nth-child(3) {
    border-left: 1px solid #b8c8d6;
  }

  .program-layout {
    grid-template-columns: 1fr;
  }

  .program-note {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  .page-width,
  .hero-copy,
  .page-hero-copy {
    width: min(calc(100% - 28px), var(--max));
  }

  .site-header {
    height: 68px;
    padding-inline: 14px;
  }

  .view {
    min-height: calc(100vh - 68px);
    padding-top: 68px;
  }

  .main-nav {
    top: 68px;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 680px;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(4, 15, 34, 0.78) 0%, rgba(4, 15, 34, 0.42) 28%, rgba(4, 15, 34, 0.96) 74%, rgba(4, 15, 34, 1) 100%),
      url("./assets/photos/hero-comunidad.jpg") 54% center / cover no-repeat;
  }

  .hero-copy {
    align-self: end;
    padding: 250px 0 38px;
  }

  .hero h1 {
    font-size: 2.75rem;
  }

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

  .hero-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .event-bar {
    grid-template-columns: 1fr;
  }

  .event-bar > div {
    min-height: 86px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .event-bar > div:last-child {
    border-bottom: 0;
  }

  .event-countdown {
    flex-direction: row;
    align-items: center !important;
    gap: 13px !important;
  }

  .home-intro {
    padding: 74px 0 80px;
  }

  .section-heading h2,
  .sponsor-heading h2,
  .preview-copy h2,
  .story-copy h2,
  .what-to-expect h2,
  .program-note h2,
  .speaker-cta h2,
  .faq-section h2 {
    font-size: 2rem;
  }

  .experience-ledger {
    grid-template-columns: 1fr;
  }

  .experience-ledger article {
    min-height: 220px;
    border-right: 0;
    border-bottom: 1px solid #b8c8d6;
  }

  .experience-ledger article:last-child {
    border-bottom: 0;
  }

  .experience-ledger svg {
    margin-bottom: 34px;
  }

  .editorial-preview,
  .sponsor-section {
    padding: 72px 0;
  }

  .preview-grid {
    gap: 38px;
  }

  .preview-photos {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 240px 145px;
  }

  .preview-photos img:first-child {
    grid-column: 1 / 3;
    grid-row: auto;
  }

  .sponsor-heading {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .sponsor-meta {
    align-items: center;
  }

  .logo-marquee::before,
  .logo-marquee::after {
    width: 35px;
  }

  .logo-set figure {
    flex-basis: 138px;
    width: 138px;
    height: 88px;
    padding: 15px 18px;
  }

  .logo-set img {
    max-height: 56px;
  }

  .page-hero {
    min-height: 410px;
  }

  .page-hero h1,
  .simple-page-head h1,
  .registration-head h1 {
    font-size: 2.55rem;
  }

  .page-hero-copy {
    padding: 54px 0;
  }

  .page-content {
    padding: 54px 0 80px;
  }

  .facts-grid,
  .expect-grid {
    grid-template-columns: 1fr;
  }

  .facts-grid {
    margin-bottom: 70px;
  }

  .facts-grid article,
  .facts-grid article:nth-child(2) {
    min-height: 145px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .facts-grid article:last-child {
    border-bottom: 0;
  }

  .congress-story {
    gap: 38px;
  }

  .story-photo figcaption {
    position: static;
    max-width: none;
    border-radius: 0 0 6px 6px;
  }

  .what-to-expect {
    margin-top: 78px;
  }

  .expect-grid article,
  .expect-grid article:first-child,
  .expect-grid article:nth-child(3) {
    min-height: 210px;
    border-right: 1px solid #b8c8d6;
    border-left: 1px solid #b8c8d6;
  }

  .simple-page-head {
    padding-top: 60px;
    padding-bottom: 38px;
  }

  .timeline {
    padding-inline: 10px;
  }

  .timeline > div {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 15px 10px;
  }

  .program-note {
    padding: 26px 20px;
  }

  .program-note ul {
    grid-template-columns: 1fr;
  }

  .speakers-grid {
    grid-template-columns: 1fr;
  }

  .speaker-card {
    height: 460px;
  }

  .speaker-cta,
  .fila-cero-band {
    align-items: stretch;
    flex-direction: column;
  }

  .gallery {
    grid-auto-rows: 245px;
    grid-template-columns: 1fr;
  }

  .gallery-item.wide,
  .gallery-item.tall {
    grid-column: auto;
    grid-row: auto;
  }

  .lightbox {
    padding: 14px;
  }

  .lightbox-content {
    display: block;
  }

  .lightbox-prev,
  .lightbox-next {
    position: absolute;
    z-index: 3;
    top: 50%;
    transform: translateY(-50%);
  }

  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }

  .registration-head {
    padding: 60px 0;
  }

  .registration-content {
    padding-top: 48px;
  }

  .option-grid {
    grid-template-columns: 1fr;
  }

  .option-card {
    min-height: 520px;
    padding: 28px 22px;
  }

  .option-description {
    min-height: 0;
  }

  .fila-cero-band > div {
    align-items: flex-start;
  }

  .faq-section {
    gap: 24px;
    margin-top: 78px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .logo-track {
    animation: marquee 56s linear infinite !important;
  }
}
