/* ==========================================================================
   BAM&TW 2026 — IEEE Second Bolivian Aerospace Meeting and Tech Workshop
   ========================================================================== */

/* Swis721 Cn BT: usa la fuente local si el sistema la tiene instalada.
   Si se agrega un archivo .woff2 en /fonts, se puede añadir aquí un
   @font-face con src: url(../fonts/swis721cnbt.woff2) format('woff2'); */
@font-face {
  font-family: 'Swis721 Cn BT';
  src: local('Swis721 Cn BT'), local('Swiss 721 Condensed BT'), local('Swis721CnBT-Regular');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Swis721 Cn BT';
  src: local('Swis721 Cn BT Bold'), local('Swiss 721 Condensed BT Bold'), local('Swis721CnBT-Bold');
  font-weight: 700;
  font-display: swap;
}

:root {
  --orange: #F7A140;
  --orange-dark: #e0872a;
  --cream: #F5F3EA;
  --black: #121214;
  --white: #ffffff;
  --font-main: 'Swis721 Cn BT', 'Roboto Condensed', 'Oswald', 'Arial Narrow', Arial, sans-serif;
  --transition: 0.35s cubic-bezier(.25,.8,.25,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-main);
  background: var(--cream);
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-weight: 700; letter-spacing: 0.02em; margin: 0; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--black);
  color: var(--cream);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}
.topbar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 7px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar-brand { opacity: 0.85; text-transform: uppercase; }
.topbar-social { display: flex; gap: 12px; }
/* icons draw with currentColor so filled and outlined glyphs recolour together */
.topbar-social a { color: var(--cream); display: inline-flex; transition: color var(--transition); }
.topbar-social a:hover { color: var(--orange); }
.topbar-social svg { width: 14px; height: 14px; fill: currentColor; }

/* ---------- Header ---------- */
.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.site-header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo-img { height: 48px; width: auto; }

.main-nav .nav-list {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav-item { position: relative; display: flex; align-items: center; gap: 4px; }

.nav-caret {
  background: none;
  border: none;
  padding: 6px 2px;
  cursor: pointer;
  color: inherit;
  line-height: 1;
  display: flex;
  align-items: center;
}
.main-nav a,
.nav-top-link {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}
.nav-top-link {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--black);
  font-family: var(--font-main);
}
.main-nav a::after,
.nav-top-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0%;
  height: 2px;
  background: var(--orange);
  transition: width var(--transition);
}
.main-nav a:hover::after,
.nav-item:hover .nav-top-link::after,
.nav-item.open .nav-top-link::after { width: 100%; }
.nav-item.is-active > a,
.nav-item.is-active > .nav-top-link { color: var(--orange-dark); }
.nav-item.is-active > .nav-top-link::after,
.nav-item.is-active > a::after { width: 100%; }

.caret {
  font-size: 0.6rem;
  transition: transform var(--transition);
  display: inline-block;
}
.nav-item:hover .caret,
.nav-item.open .caret { transform: rotate(180deg); }

/* Dropdown submenus */
.dropdown {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--white);
  min-width: 230px;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 18px 34px rgba(18,18,20,0.16);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 250;
}
.nav-item:hover .dropdown,
.nav-item.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown li + li { margin-top: 2px; }
.dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 0.86rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.dropdown a::after { display: none; }
.dropdown a:hover { background: var(--cream); color: var(--orange-dark); transform: translateX(4px); }

/* nav item highlighted like the Regístrate button, caret included */
@media (min-width: 901px) {
  .nav-item.is-cta {
    background: var(--orange);
    border-radius: 4px;
    padding: 4px 12px 4px 18px;
    transition: background var(--transition), transform var(--transition);
  }
  .nav-item.is-cta > .nav-top-link,
  .nav-item.is-cta > .nav-caret { color: var(--black); }
  .nav-item.is-cta > .nav-top-link::after { display: none; }
  .nav-item.is-cta:hover { background: var(--black); transform: translateY(-2px); }
  .nav-item.is-cta:hover > .nav-top-link,
  .nav-item.is-cta:hover > .nav-caret { color: var(--white); }
  .nav-item.is-cta.is-active > .nav-top-link { color: var(--black); }
}

.nav-cta {
  background: var(--orange);
  color: var(--black) !important;
  padding: 10px 18px !important;
  border-radius: 4px;
  transition: background var(--transition), transform var(--transition);
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--black); color: var(--white) !important; transform: translateY(-2px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--black);
  transition: transform var(--transition), opacity var(--transition);
}

/* ---------- Breadcrumb bar ---------- */
.breadcrumb-bar {
  background: #1c1c1f;
  color: var(--cream);
}
.breadcrumb-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  opacity: 0.9;
}
.breadcrumb-home { color: var(--orange); }
.chevron { color: var(--orange); }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 560px;
  position: relative;
  overflow: hidden;
}
.hero-left {
  background: linear-gradient(135deg, #16161a 0%, var(--black) 60%);
  position: relative;
  display: flex;
  align-items: center;
  padding: 60px 5vw 60px 40px;
}
.hero-stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 20% 30%, rgba(247,161,64,0.5) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 70% 60%, rgba(245,243,234,0.35) 50%, transparent 51%),
    radial-gradient(1px 1px at 40% 80%, rgba(245,243,234,0.3) 50%, transparent 51%),
    radial-gradient(1px 1px at 85% 20%, rgba(247,161,64,0.4) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 55% 15%, rgba(245,243,234,0.3) 50%, transparent 51%);
  animation: twinkle 4s ease-in-out infinite alternate;
}
@keyframes twinkle {
  from { opacity: 0.5; }
  to { opacity: 1; }
}
.hero-content { position: relative; z-index: 2; max-width: 640px; }
.hero-kicker {
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.hero-title {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
  line-height: 1.05;
  color: var(--white);
}
.hero-title-line.accent { color: var(--orange); }
.hero-sub {
  color: var(--cream);
  opacity: 0.85;
  margin-top: 18px;
  font-size: 1.05rem;
}
.hero-actions {
  margin-top: 30px;
  display: flex;
  gap: 16px;
}
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.9rem;
  transition: transform var(--transition), background var(--transition), color var(--transition), box-shadow var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--orange);
  color: var(--black);
}
.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(247,161,64,0.35);
}
.btn-ghost {
  border-color: var(--cream);
  color: var(--cream);
}
.btn-ghost:hover {
  background: var(--cream);
  color: var(--black);
  transform: translateY(-3px);
}
.btn-ghost-dark {
  display: inline-block;
  border: 2px solid var(--black);
  color: var(--black);
  padding: 13px 26px;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.9rem;
  margin-top: 30px;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.btn-ghost-dark:hover { background: var(--black); color: var(--white); transform: translateY(-3px); }
.section-cta { text-align: center; margin-top: 40px; }

.hero-quicklinks {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}
.hero-quicklinks a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cream);
  font-size: 0.9rem;
  font-weight: 700;
  opacity: 0.85;
  transition: opacity var(--transition), transform var(--transition);
}
.hero-quicklinks a:hover { opacity: 1; transform: translateX(4px); color: var(--orange); }
.qicon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px; height: 20px;
  border: 1.5px solid var(--orange);
  border-radius: 50%;
  color: var(--orange);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.hero-right {
  position: relative;
  background: linear-gradient(145deg, #1b1b20 0%, var(--black) 55%, #141416 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 32px;
}
.hero-logo-wrap {
  position: relative;
  width: min(520px, 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-right::before {
  content: '';
  position: absolute;
  inset: -20%;
  background:
    repeating-linear-gradient(115deg, rgba(247,161,64,0.07) 0 2px, transparent 2px 40px);
}
.hero-logo {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  animation: logo-in 1s cubic-bezier(.22,.8,.3,1) both;
}
@keyframes logo-in {
  from { opacity: 0; transform: translateY(24px) scale(0.94); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ---------- Internal page hero (banner) ---------- */
.page-hero {
  background: linear-gradient(135deg, #16161a 0%, var(--black) 60%);
  color: var(--white);
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 15% 30%, rgba(247,161,64,0.5) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 75% 65%, rgba(245,243,234,0.3) 50%, transparent 51%),
    radial-gradient(1px 1px at 45% 80%, rgba(245,243,234,0.25) 50%, transparent 51%),
    radial-gradient(1px 1px at 90% 20%, rgba(247,161,64,0.35) 50%, transparent 51%);
  animation: twinkle 4s ease-in-out infinite alternate;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .eyebrow { color: var(--orange); }
.page-hero h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  margin-top: 10px;
  color: var(--white);
}
.page-hero p {
  margin-top: 16px;
  max-width: 680px;
  opacity: 0.85;
  font-size: 1.02rem;
}
.page-hero .hero-contact {
  margin-top: 12px;
  font-size: 0.97rem;
  opacity: 0.85;
}
.page-hero .hero-contact a {
  color: var(--orange);
  font-weight: 700;
  white-space: nowrap;
}
.page-hero .hero-contact a:hover { text-decoration: underline; }
.page-hero .hero-note {
  margin-top: 14px;
  padding-left: 14px;
  border-left: 3px solid var(--orange);
  font-size: 0.95rem;
  opacity: 0.8;
}

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-alt { background: #efece1; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.eyebrow {
  display: inline-block;
  color: var(--orange-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); }

/* Reveal-on-scroll animation */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* About */
.about-grid { display: flex; flex-direction: column; gap: 50px; align-items: center; }
.about-text { max-width: 760px; text-align: center; font-size: 1.08rem; }
/* Activity highlights */
.highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
}
.highlight-card {
  background: var(--white);
  padding: 30px 20px;
  text-align: center;
  border: 1px solid rgba(18,18,20,0.12);
  box-shadow: 0 6px 20px rgba(18,18,20,0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}
.highlight-card:hover { transform: translateY(-6px); box-shadow: 0 16px 32px rgba(18,18,20,0.12); }
.highlight-card h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0;
}

/* Organizers & collaborators (dark section) */
.orgs-section {
  background: var(--black);
  color: var(--cream);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.orgs-stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 25%, rgba(247,161,64,0.45) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 78% 30%, rgba(245,243,234,0.3) 50%, transparent 51%),
    radial-gradient(1px 1px at 35% 78%, rgba(245,243,234,0.25) 50%, transparent 51%),
    radial-gradient(1px 1px at 88% 70%, rgba(247,161,64,0.35) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 55% 12%, rgba(245,243,234,0.25) 50%, transparent 51%);
  animation: twinkle 4s ease-in-out infinite alternate;
}
.orgs-section .container { position: relative; z-index: 2; }
.orgs-section .eyebrow { color: var(--orange); }

.orgs-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 40px;
  margin-top: 6px;
}
.orgs-row-collab { gap: 10px 60px; }

.org-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), filter var(--transition);
}
.org-logo:hover { transform: translateY(-6px) scale(1.04); }
.org-logo img {
  display: block;
  width: auto;
  opacity: 0.92;
  transition: opacity var(--transition);
}
.org-logo:hover img { opacity: 1; }

/* Heights are tuned per logo: each file has its own transparent padding */
.logo-aess { height: 225px; margin: -36px 0; }
.logo-abe { height: 185px; margin: -45px 0; }
.logo-ieee { height: 64px; }

.org-name {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 10px 0 0;
}
.org-name-sm { font-size: 0.95rem; opacity: 0.8; }

.orgs-divider {
  width: 100%;
  max-width: 380px;
  height: 1px;
  margin: 48px auto;
  background: linear-gradient(90deg, transparent, rgba(247,161,64,0.6), transparent);
}

/* Staggered reveal for the organizer blocks */
.orgs-section .reveal:nth-of-type(2) { transition-delay: 0.1s; }
.orgs-section .reveal:nth-of-type(3) { transition-delay: 0.2s; }

/* Topics */
.topics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.topic-card {
  background: var(--white);
  padding: 32px 26px;
  border: 1px solid rgba(18,18,20,0.12);
  transition: transform var(--transition), box-shadow var(--transition);
}
.topic-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 32px rgba(18,18,20,0.1);
}
.topic-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.topic-card p { font-size: 0.92rem; opacity: 0.8; margin: 0; }

/* Timeline */
.timeline { position: relative; max-width: 760px; margin: 0 auto; padding-left: 30px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 6px; top: 6px; bottom: 6px;
  width: 2px;
  background: linear-gradient(var(--orange), rgba(247,161,64,0.15));
}
.timeline-item { position: relative; padding-bottom: 36px; padding-left: 26px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: -30px; top: 4px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--orange);
}
.dot-highlight { background: var(--orange); box-shadow: 0 0 0 5px rgba(247,161,64,0.25); }
.timeline-date {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--orange-dark);
  margin-bottom: 4px;
}
.timeline-content h3 { font-size: 1.1rem; margin: 2px 0 6px; }
.timeline-content p { margin: 0; opacity: 0.8; font-size: 0.94rem; }

/* Logo story band: photos bleed in from both edges and fade into the background */
.logo-band {
  position: relative;
  overflow: hidden;
  background: var(--black);
  color: var(--cream);
  padding: 110px 0;
}
.band-img {
  position: absolute;
  top: 0;
  height: 100%;
  width: 44%;
  object-fit: cover;
  opacity: 0.9;
  pointer-events: none;
  user-select: none;
}
.band-img-left {
  left: 0;
  object-position: right center;
  -webkit-mask-image: linear-gradient(to right, #000 0%, #000 30%, transparent 95%);
  mask-image: linear-gradient(to right, #000 0%, #000 30%, transparent 95%);
}
.band-img-right {
  right: 0;
  object-position: center;
  -webkit-mask-image: linear-gradient(to left, #000 0%, #000 25%, transparent 95%);
  mask-image: linear-gradient(to left, #000 0%, #000 25%, transparent 95%);
}
/* soft scrim so the copy stays readable over the photos */
.logo-band::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(18,18,20,0.92) 30%, rgba(18,18,20,0.55) 60%, transparent 85%);
  pointer-events: none;
}
.logo-band-text {
  position: relative;
  z-index: 2;
  max-width: 680px;
  text-align: center;
}
.logo-band-text .eyebrow { color: var(--orange); }
.logo-band-text h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--white);
  margin: 8px 0 20px;
}
.logo-band-text p { margin: 0 0 18px; opacity: 0.9; font-size: 1.04rem; }
.logo-band-text p:last-child { margin-bottom: 0; }

@media (max-width: 860px) {
  .logo-band { padding: 80px 0; }
  .band-img { width: 62%; opacity: 0.4; }
}

/* list without the orange check marks */
.simple-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(18,18,20,0.08);
}

/* Note under the speaker call */
.speaker-note {
  margin-top: 40px;
  padding: 24px 28px;
  background: var(--white);
  border: 1px solid rgba(18,18,20,0.12);
  box-shadow: 0 6px 20px rgba(18,18,20,0.06);
}
.speaker-note p { margin: 0; font-size: 1rem; }
.speaker-note a { color: var(--orange-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* Horizontal dotted timeline with a scroll-driven Starship */
.timeline-h { position: relative; padding: 30px 0 10px; }

.th-rail {
  position: absolute;
  left: 0; right: 0;
  top: 52px;
  height: 0;
}
.th-line,
.th-line-fill {
  position: absolute;
  left: 0; top: 0;
  height: 0;
  border-top: 3px dotted rgba(18,18,20,0.28);
}
.th-line { right: 0; }
.th-line-fill {
  width: 0;
  border-top-color: var(--orange);
  border-top-style: solid;
  transition: width 0.12s linear;
}

.th-craft {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  gap: 0;
  transform: translate(-50%, -50%);
  transition: left 0.12s linear;
}
@media (max-width: 1050px) {
  .th-booster .th-svg { width: 62px; height: 17px; }
  .th-ship .th-svg { width: 52px; height: 16px; }
  .th-ship { margin-left: -6px; }
}
.th-svg { display: block; fill: var(--black); }
.th-booster .th-svg { width: 84px; height: 23px; fill: #3A3A42; }
.th-ship .th-svg { width: 70px; height: 22px; }
/* both SVGs carry internal padding: pull the ship back so it sits mated on the booster */
.th-ship { margin-left: -8px; }
.th-flame { fill: var(--orange); animation: flame-flicker 0.25s steps(2) infinite; }
@keyframes flame-flicker {
  0%   { opacity: 1; transform: scaleX(1); }
  100% { opacity: 0.65; transform: scaleX(0.82); }
}
.th-flame { transform-origin: right center; }
.th-booster, .th-ship { transition: transform 0.12s linear, opacity 0.12s linear; }

.th-stops {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
}
.th-stop {
  position: relative;
  padding-top: 44px;
  text-align: center;
}
.th-dot {
  position: absolute;
  top: 14px;
  left: 50%;
  width: 16px;
  height: 16px;
  margin-left: -8px;
  border-radius: 50%;
  background: var(--cream);
  border: 3px solid rgba(18,18,20,0.28);
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}
.th-stop.is-reached .th-dot {
  border-color: var(--orange);
  background: var(--orange);
  box-shadow: 0 0 0 6px rgba(247,161,64,0.22);
}
.th-date {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: rgba(18,18,20,0.45);
  letter-spacing: 0.02em;
  transition: color var(--transition);
}
.th-stop.is-reached .th-date { color: var(--orange-dark); }
.th-label {
  display: block;
  margin-top: 6px;
  font-size: 0.85rem;
  opacity: 0.75;
  padding: 0 6px;
}
.th-stop-main .th-date { font-size: 1.35rem; }
.th-stop-main.is-reached .th-date { color: var(--black); }

@media (max-width: 760px) {
  /* no room for the flight path: fall back to a vertical dotted timeline */
  .th-rail { display: none; }
  .th-stops { grid-template-columns: 1fr; gap: 0; }
  .th-stop {
    text-align: left;
    padding: 0 0 26px 30px;
    border-left: 3px dotted rgba(18,18,20,0.28);
  }
  .th-stop:last-child { border-left-color: transparent; padding-bottom: 0; }
  .th-dot { top: 4px; left: -9px; margin-left: 0; }
  .th-label { padding: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .th-flame { animation: none; }
  .th-craft, .th-line-fill, .th-booster, .th-ship { transition: none; }
}

/* "Próximamente" placeholder block */
.coming-soon {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  padding: 56px 32px;
  border: 1px solid rgba(18,18,20,0.12);
  background: var(--white);
}
.coming-soon h3 {
  font-size: 1.6rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange-dark);
  margin-bottom: 10px;
}
.coming-soon p { margin: 0; opacity: 0.8; }

/* Program tabs */
.program-tabs { display: flex; justify-content: center; gap: 12px; margin-bottom: 30px; }
.tab-btn {
  background: var(--white);
  border: 2px solid transparent;
  padding: 10px 24px;
  border-radius: 30px;
  font-family: var(--font-main);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition);
}
.tab-btn.active, .tab-btn:hover { background: var(--orange); border-color: var(--orange); }
.program-list { max-width: 760px; margin: 0 auto; }
.program-row {
  display: flex;
  gap: 24px;
  padding: 16px 20px;
  background: var(--white);
  border-radius: 8px;
  margin-bottom: 10px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.program-row:hover { transform: translateX(6px); box-shadow: 0 8px 18px rgba(18,18,20,0.08); }
.program-time { font-weight: 700; color: var(--orange-dark); min-width: 64px; }

/* Speakers */
.speakers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.speaker-card {
  background: var(--white);
  border-radius: 10px;
  padding: 30px 20px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.speaker-card:hover { transform: translateY(-8px); box-shadow: 0 16px 32px rgba(18,18,20,0.1); }
.speaker-photo {
  width: 84px; height: 84px;
  border-radius: 50%;
  background: var(--cream);
  border: 3px solid var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 16px;
}
.speaker-card h3 { font-size: 1.02rem; margin-bottom: 4px; }
.speaker-card p { font-size: 0.85rem; opacity: 0.75; margin: 0; }

/* Venue */
.venue-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.venue-facts { margin-top: 20px; }
.venue-facts li { padding: 6px 0; border-bottom: 1px solid rgba(18,18,20,0.1); }

.venue-photo {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(18,18,20,0.18);
}
.venue-photo img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(.25,.8,.25,1);
}
.venue-photo:hover img { transform: scale(1.04); }
.venue-photo figcaption {
  background: var(--black);
  color: var(--cream);
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  padding: 12px 16px;
  text-align: center;
}
.map-placeholder {
  background: var(--white);
  border-radius: 12px;
  height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 2.4rem;
  color: var(--orange-dark);
  border: 2px dashed rgba(247,161,64,0.4);
}
.map-placeholder p { font-size: 0.9rem; color: var(--black); opacity: 0.6; }

/* CTA / Register */
.cta-section {
  background: var(--black);
  color: var(--cream);
  text-align: center;
}
.cta-inner h2 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta-inner p { opacity: 0.75; max-width: 520px; margin: 14px auto 30px; }
.cta-form {
  display: flex;
  justify-content: center;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.cta-form input {
  flex: 1;
  min-width: 220px;
  padding: 13px 18px;
  border-radius: 4px;
  border: 2px solid rgba(245,243,234,0.2);
  background: rgba(245,243,234,0.06);
  color: var(--white);
  font-family: var(--font-main);
  font-size: 0.95rem;
}
.cta-form input:focus { outline: none; border-color: var(--orange); }
.cta-form input::placeholder { color: rgba(245,243,234,0.5); }
.cta-note { margin-top: 14px; font-size: 0.88rem; color: var(--orange); min-height: 1.2em; }

/* Footer */
.site-footer { background: #0c0c0e; color: var(--cream); padding-top: 60px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.1fr 3fr 0.5fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(245,243,234,0.1);
}
.footer-logo { height: 40px; margin-bottom: 12px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 0.85rem; opacity: 0.7; max-width: 240px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px 40px; }
.footer-links > div { min-width: 140px; }
.footer-links h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange);
  margin-bottom: 14px;
}
.footer-links a { display: block; font-size: 0.9rem; opacity: 0.75; margin-bottom: 10px; transition: opacity var(--transition), color var(--transition); }
.footer-links a:hover { opacity: 1; color: var(--orange); }
.footer-social { display: flex; gap: 14px; align-items: flex-start; justify-content: flex-end; }
.footer-social a { color: var(--cream); display: inline-flex; transition: color var(--transition); }
.footer-social a:hover { color: var(--orange); }
.footer-social svg { width: 18px; height: 18px; fill: currentColor; transition: transform var(--transition); }
.footer-social a:hover svg { transform: translateY(-3px); }
.footer-bottom { text-align: center; padding: 22px 0; font-size: 0.8rem; opacity: 0.55; }

/* Back to top */
#back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--orange);
  color: var(--black);
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(18,18,20,0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
  z-index: 300;
}
#back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
#back-to-top:hover { background: var(--black); color: var(--orange); }

/* keep anchored sections clear of the sticky header */
section[id] { scroll-margin-top: 90px; }

/* ---------- Left side nav: deploying solar array ---------- */
.solar-rail {
  position: fixed;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 150;
  display: none;
}
/* only where there is room beside the 1180px content column */
@media (min-width: 1320px) {
  .solar-rail { display: block; }
  /* reserve the left gutter for the rail: padding on the sections keeps the
     backgrounds full-bleed while the content column recentres to its right */
  body.has-rail .page-hero,
  body.has-rail main > section { padding-left: 110px; }
}

/* satellite bus, centred in the middle of the array */
.rail-sat {
  position: relative;
  z-index: 2;
  display: block;
  width: 34px;
  height: 34px;
  margin-left: 5px;
  background: var(--white);
  box-shadow: inset 0 0 0 5px rgba(18,18,20,0.16), 0 0 14px rgba(255,255,255,0.25);
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.35s ease, transform 0.4s cubic-bezier(.2,.8,.2,1);
}
.solar-rail.deployed .rail-sat { opacity: 1; transform: scale(1); }

/* boom: runs the whole array, linking the panels to the satellite */
.rail-boom {
  position: absolute;
  left: 21px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: linear-gradient(var(--orange), rgba(247,161,64,0.15));
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 0.5s ease-out 0.2s;
}
.solar-rail.deployed .rail-boom { transform: scaleY(1); }

.rail-cells { display: flex; flex-direction: column; gap: 8px; }

.rail-cell {
  position: relative;
  display: flex;
  align-items: center;
  width: 44px;
  height: 44px;
  border-radius: 6px;
  background: #15151A;
  border: 1px solid rgba(247,161,64,0.35);
  overflow: hidden;
  /* each cell folds out from its left edge, like a panel segment */
  transform: perspective(700px) rotateY(-88deg);
  transform-origin: left center;
  opacity: 0;
  transition:
    transform 0.5s cubic-bezier(.2,.8,.2,1),
    opacity 0.4s ease,
    width 0.35s cubic-bezier(.2,.8,.2,1),
    border-color var(--transition),
    background var(--transition);
  transition-delay: calc(var(--i) * 80ms + 300ms), calc(var(--i) * 80ms + 300ms), 0s, 0s, 0s;
}
.solar-rail.deployed .rail-cell { transform: perspective(700px) rotateY(0deg); opacity: 1; }

/* photovoltaic cell grid */
.cell-grid {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(247,161,64,0.16) 0 1px, transparent 1px 11px),
    repeating-linear-gradient(90deg, rgba(247,161,64,0.16) 0 1px, transparent 1px 11px);
  pointer-events: none;
}

.cell-label {
  position: relative;
  padding: 0 14px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cream);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.25s ease;
}
/* hovering the array extends the panels and reveals the labels */
.solar-rail:hover .rail-cell { width: 200px; box-shadow: 0 10px 28px rgba(0,0,0,0.35); }
.solar-rail:hover .cell-label { opacity: 1; transition-delay: 0.1s; }

.rail-cell:hover {
  border-color: var(--orange);
  background: #1E1E24;
  box-shadow: 0 0 18px rgba(247,161,64,0.25);
}
.rail-cell.is-current {
  border-color: var(--orange);
  background: linear-gradient(90deg, rgba(247,161,64,0.28), #15151A 70%);
}
.rail-cell.is-current::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--orange);
}

@media (prefers-reduced-motion: reduce) {
  .rail-cell { transform: none; opacity: 1; transition-delay: 0s; }
  .rail-boom { transform: scaleY(1); transition-delay: 0s; }
  .rail-sat { opacity: 1; transform: none; }
}

/* ---------- Calls: continuous matte colour bands ---------- */
.calls-flow { display: block; }

.call-band {
  padding: 96px 0;
  /* dark band defaults; .band-light flips them for the pale bands */
  --band-fg: var(--cream);
  --band-fg-strong: var(--white);
  --band-fg-soft: rgba(245,243,234,0.7);
  --band-line: rgba(245,243,234,0.18);
  --band-accent: var(--orange);
  --band-btn-bg: var(--cream);
  --band-btn-fg: var(--black);
  --band-btn-off-bg: rgba(245,243,234,0.16);
  --band-btn-off-fg: rgba(245,243,234,0.7);
  --band-qr-border: rgba(245,243,234,0.4);
  color: var(--band-fg);
}
.band-light {
  --band-fg: var(--black);
  --band-fg-strong: var(--black);
  --band-fg-soft: rgba(18,18,20,0.6);
  --band-line: rgba(18,18,20,0.14);
  --band-accent: var(--black);
  --band-btn-bg: var(--black);
  --band-btn-fg: var(--cream);
  --band-btn-off-bg: rgba(18,18,20,0.12);
  --band-btn-off-fg: rgba(18,18,20,0.5);
  --band-qr-border: rgba(18,18,20,0.3);
}

/* Matte palette: yellow, black, white, red */
.band-lightning   { background: #D9B54B; }
.band-comunidades { background: #15151A; }
.band-posters     { background: #F7F6F2; }
.band-students    { background: #A33B30; }
.band-contact     { background: var(--black); text-align: center; }

.call-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
}
.band-reverse .call-shots { order: -1; }

.call-body { flex: 1; min-width: 0; max-width: 680px; }
.call-tag {
  display: inline-block;
  color: var(--band-fg-soft);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 10px;
}
.call-body h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  margin-bottom: 16px;
  color: var(--band-fg-strong);
}
.call-body > p { margin: 0 0 22px; opacity: 0.88; font-size: 1.04rem; }
.call-body .check-list { margin-bottom: 32px; }
.call-band .check-list li { border-bottom-color: var(--band-line); }
.call-band .check-list li::before { color: var(--band-accent); }
.call-band a:not(.btn) { text-decoration: underline; text-underline-offset: 3px; }

.call-btn {
  background: var(--band-btn-bg);
  color: var(--band-btn-fg);
}
.call-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,0.25); }
.call-btn.is-disabled {
  background: var(--band-btn-off-bg);
  color: var(--band-btn-off-fg);
  cursor: default;
  pointer-events: none;
  box-shadow: none;
}

/* Reference images: a stack of up to three prints, hidden until they load */
.call-shots {
  position: relative;
  flex: 0 0 auto;
  width: 300px;
  height: 250px;
  transition: transform var(--transition);
}
.call-shots:hover { transform: scale(1.03); }
.shot {
  display: none;
  position: absolute;
  object-fit: cover;
  background: var(--white);
  border: 5px solid var(--white);
  box-shadow: 0 10px 28px rgba(0,0,0,0.28);
}
.shot.is-loaded { display: block; }
.shot-1 { width: 200px; height: 140px; top: 0; left: 0; transform: rotate(-4deg); z-index: 1; }
.shot-2 { width: 160px; height: 112px; top: 112px; left: 78px; transform: rotate(5deg); z-index: 2; }
.shot-3 { width: 120px; height: 86px; top: 34px; left: 176px; transform: rotate(-9deg); z-index: 3; }

.shots-empty {
  position: absolute;
  inset: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--band-qr-border);
  text-align: center;
}
.shots-empty p { margin: 0; font-size: 0.82rem; color: var(--band-fg-soft); }
.call-shots.has-shots .shots-empty { display: none; }

@media (max-width: 860px) {
  .call-band { padding: 70px 0; }
  .call-inner { flex-direction: column; align-items: flex-start; gap: 36px; }
  .band-reverse .call-shots { order: 0; }
  .call-shots { width: 260px; height: 210px; }
  .shot-1 { width: 170px; height: 118px; }
  .shot-2 { width: 136px; height: 95px; top: 95px; left: 66px; }
  .shot-3 { width: 102px; height: 73px; top: 28px; left: 150px; }
}

/* ---------- Generic content utilities (internal pages) ---------- */
.prose { max-width: 760px; margin: 0 auto; font-size: 1.05rem; }
.prose p { margin: 0 0 18px; }
.prose h3 { margin: 32px 0 12px; font-size: 1.25rem; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.check-list li {
  position: relative;
  padding: 10px 0 10px 30px;
  border-bottom: 1px solid rgba(18,18,20,0.08);
}
.check-list li::before {
  content: '\2713';
  position: absolute;
  left: 0; top: 10px;
  color: var(--orange-dark);
  font-weight: 700;
}

.badge {
  display: inline-block;
  background: rgba(247,161,64,0.15);
  color: var(--orange-dark);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 5px 12px;
  border-radius: 20px;
}

.info-card {
  display: block;
  background: var(--white);
  padding: 30px 26px;
  border: 1px solid rgba(18,18,20,0.12);
  transition: transform var(--transition), box-shadow var(--transition);
}
.info-card:hover { transform: translateY(-6px); box-shadow: 0 16px 32px rgba(18,18,20,0.1); }
.info-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.info-card p { margin: 0; opacity: 0.82; font-size: 0.95rem; }

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

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--orange);
  margin-bottom: 16px;
}
.back-link:hover { text-decoration: underline; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.pricing-card {
  background: var(--white);
  padding: 34px 26px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid rgba(18,18,20,0.12);
}
/* ---- Registro: the page carries its own (blue) accent, header/footer keep the brand orange ---- */
body[data-group="register"] { --reg: #8FB4FF; --reg-deep: #3E63B0; }
body[data-group="register"] .page-hero .eyebrow,
body[data-group="register"] main .eyebrow { color: var(--reg); }
body[data-group="register"] .page-hero .hero-note { border-left-color: var(--reg); }
body[data-group="register"] main .btn-primary,
body[data-group="register"] .page-hero .btn-primary {
  background: var(--reg);
  color: #10233F;
}
body[data-group="register"] main .btn-primary:hover {
  background: var(--white);
  box-shadow: 0 10px 24px rgba(143,180,255,0.3);
}

/* Package comparison table, on its own dark band */
.compare-section {
  position: relative;
  overflow: hidden;
  background: #15151A;
  color: var(--cream);
}
.compare-section .container { position: relative; z-index: 2; }
.compare-section .section-head h2 { color: var(--white); }

/* satellite and rocket, flown in by the scroll until they flank the button */
.reg-flight {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.reg-craft {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  will-change: transform;
}
.reg-craft svg { display: block; }
.reg-sat svg { width: 76px; height: 33px; }
.reg-rocket svg { width: 74px; height: 25px; }
.sat-panel { fill: var(--reg); opacity: 0.85; }
.sat-bus { fill: var(--white); }
.sat-arm { fill: rgba(245,243,234,0.55); }
.rk-body { fill: var(--white); }
.rk-fin { fill: var(--reg); }
.rk-win { fill: #10233F; }
.rk-flame { fill: var(--reg); }

@media (max-width: 900px) {
  /* no room beside the table on narrow screens */
  .reg-flight { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .reg-flight { display: none; }
}

.compare-wrap { overflow-x: auto; }
.compare {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  border-collapse: collapse;
  color: var(--cream);
}
.compare th,
.compare td {
  padding: 15px 18px;
  text-align: center;
  border-bottom: 1px solid rgba(245,243,234,0.14);
}
.compare thead th {
  padding: 26px 18px 22px;
  border-bottom: 2px solid rgba(245,243,234,0.4);
  vertical-align: bottom;
}
.compare-corner { border-bottom: 2px solid rgba(245,243,234,0.4); }
.compare-pkg {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--white);
}
.compare-cupos {
  display: block;
  margin-top: 5px;
  font-size: 0.76rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.6;
}
.compare tbody th[scope="row"],
.compare tfoot th[scope="row"] {
  text-align: left;
  font-weight: 400;
  width: 46%;
}
.compare-group th {
  text-align: left;
  padding-top: 32px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white);
  border-bottom: 2px solid rgba(245,243,234,0.4);
}
.compare .yes { font-size: 1.05rem; font-weight: 700; color: var(--white); }
.compare .no { color: rgba(245,243,234,0.28); }
/* the upper package reads as one continuous highlighted column */
.compare .is-featured { background: rgba(143,180,255,0.1); }
.compare thead th.is-featured { border-bottom-color: var(--reg, var(--white)); }
.compare-price th,
.compare-price td { padding-top: 24px; padding-bottom: 24px; border-bottom: none; }
.compare-price td { font-size: 1.6rem; font-weight: 700; color: var(--white); }

@media (max-width: 700px) {
  .compare th, .compare td { padding: 12px 10px; font-size: 0.9rem; }
  .compare tbody th[scope="row"], .compare tfoot th[scope="row"] { width: auto; }
  .compare-pkg { font-size: 0.95rem; }
  .compare-price td { font-size: 1.3rem; }
}
.pricing-card:hover { transform: translateY(-8px); box-shadow: 0 18px 34px rgba(18,18,20,0.12); }
.pricing-card.featured { border-color: var(--black); }
.pricing-card h3 { font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.04em; }
.pricing-price { display: block; font-size: 2rem; font-weight: 700; color: var(--orange-dark); margin: 12px 0; }
.pricing-card ul { margin: 18px 0; text-align: left; }
.pricing-card ul li { padding: 6px 0; font-size: 0.9rem; opacity: 0.85; }

@media (max-width: 800px) {
  .two-col { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) and (min-width: 901px) {
  .main-nav .nav-list { gap: 14px; }
  .main-nav a, .nav-top-link { font-size: 0.82rem; }
  .logo-img { height: 40px; }
}

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .hero-right { min-height: 320px; height: auto; order: -1; padding: 40px 24px; }
  .hero-logo-wrap { width: min(420px, 100%); }
  .hero-left { padding: 50px 6vw; }
  .highlight-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-aess { height: 175px; margin: -28px 0; }
  .logo-abe { height: 150px; margin: -36px 0; }
  .logo-ieee { height: 52px; }
  .topics-grid { grid-template-columns: repeat(2, 1fr); }
  .speakers-grid { grid-template-columns: repeat(2, 1fr); }
  .venue-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-social { justify-content: flex-start; }
}

@media (max-width: 900px) {
  .topbar-brand { font-size: 0.62rem; }
  .nav-toggle { display: flex; }
  .nav-list {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    gap: 18px;
    box-shadow: 0 12px 20px rgba(0,0,0,0.08);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition);
  }
  .nav-list.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-list { max-height: 80vh; overflow-y: auto; }
  .nav-item { width: 100%; flex-wrap: wrap; }
  .nav-top-link { flex: 1; }
  .nav-caret { padding: 10px 8px; }
  .nav-caret .caret { font-size: 1rem; }
  .nav-item .dropdown { flex-basis: 100%; }
  .dropdown,
  .nav-item:hover .dropdown,
  .nav-item.open .dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    padding: 0 0 0 14px;
    margin-top: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition);
  }
  .nav-item.open .dropdown { max-height: 220px; margin-top: 8px; }
  .hero-quicklinks { grid-template-columns: 1fr; }
  .topics-grid, .speakers-grid { grid-template-columns: 1fr; }
  .highlight-grid { grid-template-columns: 1fr 1fr; }
}
