/* ═══════════════════════════════════════════════════════
   ICFSET 2026 — "Scientific Heritage"
   Deep Mediterranean elegance meets geometric precision
   ═══════════════════════════════════════════════════════ */

:root {
  color-scheme: light;

  /* Core palette */
  --bg: #F8FAFC;
  --bg-warm: #F1F5F9;
  --surface: #ffffff;
  --surface-alt: #F1F5F9;
  --surface-elevated: #ffffff;

  /* Text */
  --text: #1E293B;
  --text-strong: #0F172A;
  --muted: #64748B;

  /* Primary — deep teal */
  --gold: #057999;
  --gold-light: #0891B2;
  --gold-dim: rgba(5, 121, 153, 0.08);
  --gold-glow: rgba(5, 121, 153, 0.04);

  /* Secondary — emerald green */
  --teal: #006652;
  --teal-dim: rgba(0, 102, 82, 0.08);

  /* Accent — warm amber */
  --amber: #F59E0B;
  --amber-dim: rgba(245, 158, 11, 0.1);

  /* Borders & shadows */
  --border: rgba(5, 121, 153, 0.15);
  --border-subtle: #E2E8F0;
  --shadow: 0 24px 64px rgba(15, 23, 42, 0.08);
  --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.06);

  --radius: 10px;
  --radius-lg: 16px;

  /* Typography */
  --font-display: "Montserrat", sans-serif;
  --font-body: "Montserrat", sans-serif;

  /* Geometry noise texture (inline SVG) */
  --noise: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.03'/%3E%3C/svg%3E");
}

/* ── Reset ────────────────────────────────────────── */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: var(--noise);
  background-size: 200px;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.35;
}

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

/* ── Scroll reveal animations ─────────────────────── */

.section {
  animation: sectionReveal 0.8s ease both;
}

@keyframes sectionReveal {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Staggered delays — each section gets a slightly later reveal on first paint */
#dates { animation-delay: 0.05s; }
#cfp { animation-delay: 0.08s; }
#submission { animation-delay: 0.12s; }
#committee { animation-delay: 0.14s; }
#program { animation-delay: 0.16s; }
#registration { animation-delay: 0.18s; }
#venue { animation-delay: 0.2s; }
#sponsors { animation-delay: 0.22s; }
#contact { animation-delay: 0.24s; }

/* ── HERO ─────────────────────────────────────────── */

.hero {
  background:
    linear-gradient(rgba(11, 45, 92, 0.18), rgba(11, 45, 92, 0.18)),
    url("carthage3.jpeg") center top / cover no-repeat;
  padding: 0 8vw 28px;
  overflow-x: clip;
}

.hero::before {
  display: none;
}

.hero::after {
  display: none;
}

/* ── NAV ──────────────────────────────────────────── */

.nav {
  background: transparent;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  display: block;
  padding: 0;
  border-radius: 0;
}

#logo-images {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 0;
  width: 100%;
  padding: 18px 8vw 14px;
  background: #ffffff;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #E2E8F0;
  white-space: nowrap;
}

.logo-left-item {
  display: inline-flex;
  align-items: center;
}

.logo-right-items {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.1rem;
  flex: 0 0 auto;
  width: auto;
  min-width: 0;
}

.logo-title {
  display: block;
  line-height: 1.3;
  flex: 0 1 auto;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text);
}

.logo-image {
  height: 56px;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

.logo-image:hover {
  opacity: 0.8;
}

.logo-link,
.logo-mark-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  font-size: 1.4rem;
  color: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 4px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  min-width: 0;
  width: 100%;
  background: #0F172A;
  padding: 10px 8vw;
  border-bottom: none;
  white-space: normal;
  overflow-x: visible;
}

.nav-links a {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
  padding: 7px 12px;
  border-radius: 6px;
  transition: color 0.25s ease, background 0.25s ease;
}

.nav-links a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

/* ── HERO CONTENT ─────────────────────────────────── */

.hero-content {
  margin-top: 28px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
  justify-items: start;
}

.hero-content-inner,
.hero-about-box {
  background: rgba(31, 41, 55, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  padding: 24px;
  border-radius: 14px;
}

.hero-content-inner {
  max-width: 620px;
}

.hero-about-box {
  width: 100%;
  max-width: none;
}

.hero-about-box h2 {
  color: #ffffff;
  margin-bottom: 8px;
  font-size: clamp(1.28rem, 1.8vw, 1.75rem);
}

.hero-about-box p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.92rem;
  line-height: 1.65;
}

.hero-content-image-box {
  display: none;
}

.hero-content-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 0;
  will-change: opacity;
  animation: heroImageCrossFade 18s ease-in-out infinite;
}

.hero-content-image--one {
  animation-delay: 0s;
}

.hero-content-image--two {
  animation-delay: 9s;
}

@keyframes heroImageCrossFade {
  0% { opacity: 0; }
  8% { opacity: 1; }
  46% { opacity: 1; }
  54% { opacity: 0; }
  100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-content-image { animation: none; opacity: 1; }
  .hero-content-image--two { display: none; }
  .section { animation: none; }
}

.eyebrow {
  text-transform: none;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.2em;
  font-weight: 600;
}

.hero h1 {
  font-size: clamp(2.35rem, 3.7vw, 3.7rem);
  margin: 12px 0 8px;
  color: #ffffff;
}

.hero-subtitle {
  font-size: 1.12rem;
  color: #ffffff;
}

.hero-host {
  margin-top: 8px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.95);
}

.hero-host a {
  color: inherit;
  text-decoration: underline;
}

/* ── BUTTONS ──────────────────────────────────────── */

.hero-actions {
  margin-top: 20px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.primary,
.secondary {
  font-family: var(--font-display);
  padding: 13px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
  cursor: pointer;
}

.primary {
  background: #057999;
  color: #ffffff;
  box-shadow: 0 4px 24px rgba(5, 121, 153, 0.25);
}

.primary:hover {
  background: #0891B2;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(5, 121, 153, 0.4);
}

.secondary {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.primary.small {
  padding: 11px 20px;
  font-size: 0.84rem;
  box-shadow: none;
}

/* ── SECTIONS ─────────────────────────────────────── */

.section {
  padding: 52px 8vw;
  position: relative;
}

.section.alt {
  background: var(--surface-alt);
}

/* Geometric top-accent line on each section */
.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 8vw;
  width: 48px;
  height: 3px;
  background: #F59E0B;
  border-radius: 2px;
}

.section.alt::before {
  background: #057999;
}

.section-header {
  margin-bottom: 24px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  color: var(--text-strong);
}

.section-header p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: none;
}

/* ── TIMELINE (Dates) ─────────────────────────────── */

.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
}

.timeline-item {
  background: var(--surface);
  padding: 20px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, #057999, transparent);
}

.timeline-item:hover {
  border-color: var(--border);
  transform: translateY(-2px);
}

.timeline-item span {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  flex: 1;
}

.timeline-item strong {
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  margin-top: auto;
}

/* ── TRACKS (Call for Papers) ─────────────────────── */

.track-grid {
  margin-top: 24px;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.track {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.track .list {
  flex: 1;
}

.track:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.track h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  color: var(--gold);
  text-transform: none;
  letter-spacing: -0.01em;
}

.track .list {
  margin-top: 8px;
  gap: 5px;
  flex: 1;
}

.track-scope-word {
  text-decoration: none;
  font-weight: 700;
  color: #000000;
}

.cfp-policies {
  margin-top: 26px;
  display: grid;
  gap: 12px;
}

.cfp-policy {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: clip;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.cfp-policy:hover {
  border-color: var(--border);
}

.cfp-policy[open] {
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.cfp-policy summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 18px;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cfp-policy summary::-webkit-details-marker {
  display: none;
}

.cfp-policy summary::after {
  content: "+";
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1;
  transform-origin: center;
  transition: transform 0.2s ease;
}

.cfp-policy[open] summary::after {
  content: "−";
  transform: rotate(180deg);
}

.cfp-policy-body {
  padding: 2px 18px 16px;
  border-top: 1px solid var(--border-subtle);
}

.cfp-policy-body .list {
  margin-top: 10px;
}

.cfp-policy-body p {
  margin-top: 10px;
  color: var(--text);
}

/* ── LISTS ────────────────────────────────────────── */

.list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.list li {
  padding-left: 20px;
  position: relative;
}

.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border: 1.5px solid #057999;
  transform: rotate(45deg);
  margin-right: 0;
}

/* ── CARDS (Committee, Keynotes) ──────────────────── */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.card {
  background: var(--surface);
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border-subtle);
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  border-color: var(--border);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.card p {
  color: var(--muted);
  margin-top: 8px;
}

a.card-link {
  display: contents;
  text-decoration: none;
}

a.card-link:hover .card {
  border-color: var(--gold);
  cursor: pointer;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-strong);
}

.card h4 {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
  margin-bottom: 6px;
}

/* ── Committee ────────────────────────────────────── */

#committee .card-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
}

#committee .card-grid .card {
  flex: 1 1 320px;
  max-width: 500px;
}

#committee .card {
  background: var(--surface);
  border: none;
  border-radius: 14px;
  padding: 28px 20px 24px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#committee .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(5, 121, 153, 0.1);
}

#committee .card h3 {
  color: var(--text-strong);
  font-size: 0.92rem;
  margin-top: 4px;
}

#committee .card h4 {
  color: #057999;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

#committee .card p {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.member-name {
  color: var(--text-strong);
  font-weight: 600;
  font-size: 0.9rem;
}

a.member-name,
a.member-name:visited {
  color: var(--text-strong);
  transition: color 0.2s ease;
}

a.member-name:hover {
  color: #057999;
}

.member-affil {
  color: var(--muted);
  font-size: 0.82em;
}

.member-people {
  margin-top: 10px;
  display: grid;
  gap: 6px;
  text-align: left;
}

.member-photo,
.member-initials {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  margin: 0 auto 14px;
}

.member-photo {
  display: block;
  object-fit: cover;
  border: 3px solid rgba(5, 121, 153, 0.15);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

a.card-link:hover .member-photo {
  border-color: #057999;
  transform: scale(1.06);
}

.member-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #057999 0%, #006652 100%);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  user-select: none;
}

a.card-link:hover .member-initials {
  transform: scale(1.06);
  box-shadow: 0 4px 16px rgba(5, 121, 153, 0.3);
}

#committee .card .member-info {
  padding: 0 20px 24px;
}

.committee-group {
  margin-top: 40px;
}

.committee-group-header {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.committee-group-header::before {
  content: "";
  width: 28px;
  height: 3px;
  background: linear-gradient(90deg, #057999, #006652);
  border-radius: 2px;
  flex-shrink: 0;
}

.committee-group-header h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-strong);
  letter-spacing: -0.01em;
}

.committee-show-all {
  display: block;
  margin: 32px auto 0;
  padding: 12px 28px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: #057999;
  background: transparent;
  border: 1.5px solid rgba(5, 121, 153, 0.3);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.committee-show-all:hover {
  background: rgba(5, 121, 153, 0.06);
  border-color: #057999;
}

.committee-show-all.active {
  color: var(--muted);
  border-color: var(--border);
}

.committee-show-all.active:hover {
  background: rgba(0, 0, 0, 0.02);
}

.committee-collapsible {
  animation: committeeFadeIn 0.4s ease;
}

@keyframes committeeFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Program ──────────────────────────────────────── */

.program-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.program-keynotes {
  margin-top: 28px;
}

.program-keynotes .card.speaker {
  border: 1px solid var(--border);
}

.program-day {
  background: var(--surface);
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
}

.program-day h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
}

.program-day ul {
  list-style: none;
  margin-top: 18px;
  display: grid;
  gap: 12px;
  color: var(--muted);
}

.program-day li {
  padding-left: 14px;
  border-left: 2px solid var(--border);
  transition: border-color 0.2s ease;
}

.program-day li:hover {
  border-left-color: var(--gold);
}

.program-day li strong {
  color: var(--text-strong);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
}

.speaker .talk {
  font-weight: 600;
  margin-top: 12px;
  color: var(--text);
}

.muted {
  color: var(--muted);
}

/* ── Registration ─────────────────────────────────── */

.registration-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

.pricing-table {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
}

.pricing-row {
  display: grid;
  grid-template-columns: 70px 1.5fr 2fr 0.9fr;
  column-gap: 28px;
  align-items: start;
  padding: 16px 22px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--muted);
  font-size: 0.98rem;
  transition: background 0.2s ease;
}

.pricing-row span:nth-child(3) {
  padding-right: 10px;
}

.pricing-row span:last-child {
  padding-left: 14px;
}

.pricing-row:last-child {
  border-bottom: none;
}

.pricing-row:not(.header):hover {
  background: var(--gold-glow);
}

.pricing-row.header {
  background: var(--gold-dim);
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.panel {
  background: var(--surface);
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
}

.panel h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-strong);
}

/* ── Venue ────────────────────────────────────────── */

.venue {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 1fr);
  align-items: start;
}

.venue-image-wrap {
  margin-top: -8px;
  align-self: start;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.venue-image-wrap::after {
  display: none;
}

.venue-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.venue-left-column {
  display: grid;
  gap: 16px;
  align-content: start;
}

.venue-text-block {
  min-width: 0;
}

.venue-text-block h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-strong);
  margin-bottom: 4px;
  line-height: 1.3;
}

.venue-text-block h3 .accent-link {
  color: #057999;
  -webkit-text-fill-color: #057999;
  text-decoration: none;
  border-bottom: 2px solid rgba(5, 121, 153, 0.3);
  padding-bottom: 2px;
  transition: border-color 0.3s ease;
}

.venue-text-block h3 .accent-link:hover {
  border-color: #057999;
}

.venue-text-block > p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-top: 16px;
}

.venue-address {
  margin-bottom: 18px;
}

.venue-address .accent-link {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #0f172a;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #F59E0B;
  border-radius: 20px;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.venue-address .accent-link:hover {
  background: #ffffff;
  color: #0f172a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.venue-visa {
  margin-top: 14px;
  padding: 20px 24px;
  background: rgba(245, 158, 11, 0.06);
  border-left: 3px solid #F59E0B;
  border-radius: 0 8px 8px 0;
}

.venue-visa p {
  color: var(--text);
}

.venue-visa .accent-text {
  color: #057999;
  font-weight: 600;
}

#visa-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 8px;
  color: #F59E0B;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.accent-link {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: rgba(5, 121, 153, 0.3);
  text-underline-offset: 3px;
  transition: all 0.3s ease;
}

.accent-link:hover {
  text-decoration-color: var(--gold);
  color: var(--gold-light);
}

.accent-text {
  color: #057999;
  font-weight: 600;
}

/* ── Misc reusable ────────────────────────────────── */

.button-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.submit-link {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.submission-actions {
  margin-top: 20px;
}

.split {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.email {
  font-weight: 600;
  color: var(--gold);
  margin: 8px 0;
}

.speaker .avatar {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: var(--gold-dim);
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--gold);
}

/* ── Sponsors ─────────────────────────────────────── */

.sponsor-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.sponsor {
  background: var(--surface);
  padding: 24px;
  border-radius: var(--radius);
  border: 1px dashed var(--border);
  text-align: center;
  color: var(--muted);
  font-family: var(--font-display);
  font-weight: 500;
  transition: border-color 0.3s ease;
}

.sponsor:hover {
  border-color: var(--gold);
}

/* ── Contact ──────────────────────────────────────── */

.contact-card {
  background: transparent;
  padding: 0;
  border-radius: 0;
  border: 0;
  display: grid;
  gap: 8px;
  max-width: none;
}

/* ── Footer ───────────────────────────────────────── */

.footer {
  padding: 28px 8vw 36px;
  background: #0F172A;
  border-top: none;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  display: grid;
  gap: 8px;
  font-size: 0.92rem;
}

/* ── Back to top ──────────────────────────────────── */

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 8px;
  background: #057999;
  color: #ffffff;
  font-size: 18px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(5, 121, 153, 0.3);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s ease;
  z-index: 1100;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #006652;
  color: #ffffff;
}

/* ── Responsive ───────────────────────────────────── */

@media (max-width: 900px) {
  .track-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav {
    align-items: start;
  }

  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-content-image-box {
    min-height: 300px;
  }

  .logo-image {
    height: 46px;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    overflow-x: visible;
    white-space: normal;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
  }

  .venue {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .venue-image-wrap {
    min-height: 280px;
    order: -1;
  }

  .venue-left-column {
    padding: 32px 24px;
  }
}

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

  .hero {
    padding: 0 6vw 28px;
  }

  .hero-content {
    margin-top: 24px;
    gap: 16px;
  }

  .hero-content-inner {
    padding: 18px;
  }

  .hero-content-image-box {
    min-height: 220px;
  }

  .section {
    padding: 44px 6vw;
  }

  .pricing-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

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

  #logo-images {
    padding: 14px 6vw 12px;
  }

  .nav-links {
    padding: 8px 6vw;
    gap: 2px;
  }

  .section::before {
    left: 6vw;
  }
}
