/* ============================================================
   XXI IDRC 2026 – Version A: "Accademico Elegante"
   Palette: warm cream, burnt sienna, dark navy
   Fonts: Playfair Display + Lora + Inter
   ============================================================ */

/* ---------- Custom Properties ---------- */
:root {
  --bg:        #faf8f3;
  --text:      #2c2416;
  --accent:    #E7560D;
  --navy:      #1352AA;
  --border:    #e8e0d0;
  --surface:   #ffffff;
  --muted:     #7a6e62;

  --font-serif:  'Playfair Display', Georgia, serif;
  --font-lora:   'Lora', Georgia, serif;
  --font-body:   'Inter', system-ui, sans-serif;

  --nav-h: 120px;
  --container: 1140px;
  --radius: 4px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

ul {
  list-style: none;
}

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

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ---------- Section base ---------- */
.section {
  padding: 5rem 0;
}

/* Alternate section backgrounds */
.committee-section { background: var(--bg); }
.schedule-section  { background: var(--surface); }
.registration-section { background: var(--bg); }
.info-section      { background: var(--surface); }
.sponsors-section  { background: var(--surface); }

/* ---------- Section Header ---------- */
.section-header {
  margin-bottom: 3rem;
}

.section-label {
  display: block;
  font-family: var(--font-lora);
  font-style: italic;
  font-size: 0.875rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.section-rule {
  width: 3rem;
  height: 1px;
  background: var(--accent);
  margin-top: 0.75rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.65rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  text-decoration: none;
  letter-spacing: 0.03em;
}

.btn svg, .btn i { width: 16px; height: 16px; flex-shrink: 0; order: 1; }

.btn-accent {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-accent:hover {
  background: #C4490B;
  border-color: #C4490B;
}

.btn-accent-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-accent-outline:hover {
  background: var(--accent);
  color: #fff;
}

.btn-lg {
  padding: 0.85rem 1.75rem;
  font-size: 0.95rem;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ---------- Fade-in ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  height: var(--nav-h);
  transition: background 0.4s ease, box-shadow 0.4s ease, height 0.4s ease;
}

.navbar.scrolled,
.navbar.nav-open {
  background: var(--navy);
  box-shadow: 0 2px 20px rgba(0,0,0,0.28);
}

.navbar.scrolled {
  height: 80px;
}

.nav-container {
  height: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Brand */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}


.nav-logo {
  height: 64px;
  width: auto;
  object-fit: contain;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-link {
  display: inline-block;
  padding: 0.4rem 0.875rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
  background: rgba(255,255,255,0.12);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgb(255,255,255);
  transition: transform 0.25s, opacity 0.25s;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 0.5rem 0 1rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.nav-mobile.open {
  max-height: 400px;
}

.nav-mobile-link {
  display: block;
  padding: 0.65rem 2rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-mobile-link:hover { color: #fff; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 80vh;
  background: url('assets/header.avif') center / cover no-repeat;
  display: flex;
  align-items: flex-end;
  padding-bottom: 3rem;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 59, 128, 0.2) 6.13%, rgba(9, 59, 128, 0) 21.31%), linear-gradient(261.89deg, rgba(9, 59, 128, 0) 4.03%, rgba(9, 59, 128, 0) 32.9%, rgba(9, 59, 128, 0.6) 90.94%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 100%;
  margin-left: 0;
  padding: 0 2rem;
  width: 100%;
}

/* Limit hero text to left side on desktop */
@media (min-width: 768px) {
  .hero-content {
    margin-left: max(2rem, calc((100vw - var(--container)) / 2));
    padding: 0;
  }
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-lora);
  font-style: italic;
  font-size: 0.8rem;
  color: rgba(200,146,90,0.9);
  border: 1px solid rgba(200,146,90,0.45);
  padding: 0.25rem 0.75rem;
  border-radius: 0;
  margin-bottom: 1.25rem;
  letter-spacing: 0.06em;
}

.hero-heading {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(1.75rem, 4.8vw, 68px);
  color: #ffffff;
  line-height: 1.0;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.hero-subtitle {
  font-family: var(--font-lora);
  font-style: italic;
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  color: rgba(255,255,255,0.82);
  margin-bottom: 1.25rem;
  font-weight: 400;
}

.hero-date {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.hero-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 2rem;
  font-family: var(--font-body);
}

.hero-cta {
  font-size: 0.95rem;
  border-radius: 0;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ============================================================
   ORGANIZING COMMITTEE
   ============================================================ */
.committee-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}

.committee-names {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.committee-person {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.person-avatar {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--border);
}

.person-name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
}

.committee-divider {
  font-family: var(--font-lora);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--muted);
  margin-top: -1rem;
}

.committee-badges {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
  min-width: 200px;
}

.lab-badge,
.uni-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  width: 100%;
}

.badge-logo {
  height: 120px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
}

.person-email {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.person-email:hover { color: var(--accent); }

.lab-name {
  font-family: var(--font-lora);
  font-style: italic;
}

/* ============================================================
   SCHEDULE
   ============================================================ */
.schedule-tabs-wrap {
  position: sticky;
  top: var(--nav-h);
  z-index: 90;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
}

.schedule-tabs {
  display: flex;
  gap: 0;
}

.tab-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  padding: 1.1rem 2rem;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  line-height: 1.3;
}

.tab-btn i,
.tab-btn svg { display: none; }

.tab-btn .tab-date {
  font-family: var(--font-lora);
  font-style: italic;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--muted);
}

.tab-btn:hover { color: var(--text); }

.tab-btn.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.tab-btn.active .tab-date { color: var(--accent); }

/* Timeline */
.tab-panel { display: none; }
.tab-panel.active { display: block; }

.timeline {
  position: relative;
  padding-left: 3rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0.875rem;
  top: 0.75rem;
  bottom: 0.75rem;
  width: 1px;
  background: var(--accent);
  opacity: 0.3;
}

.timeline-item {
  position: relative;
  margin-bottom: 1.5rem;
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1.25rem;
  align-items: start;
}

/* Timeline bullet — left is relative to .timeline-item, offset by padding-left (3rem) */
.timeline-item::before {
  content: '';
  position: absolute;
  left: calc(0.875rem - 3rem - 6px);
  top: 0.4rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--accent);
  z-index: 1;
}

.timeline-item.break::before {
  background: var(--accent);
}

.timeline-group-label {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  margin-left: calc(8rem + 1.25rem);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.timeline-time {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--accent);
  padding-top: 0.05rem;
  line-height: 1.4;
  white-space: nowrap;
}

.timeline-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem 1.1rem;
}

.timeline-content.special {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: rgba(155, 61, 16, 0.04);
  border-color: rgba(155, 61, 16, 0.2);
}

.timeline-content.special i {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.timeline-content.break-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg);
  border-style: dashed;
}

.timeline-content.break-content i {
  width: 16px;
  height: 16px;
  color: var(--muted);
}

.timeline-content.dinner {
  background: rgba(26, 39, 68, 0.04);
  border-color: rgba(26, 39, 68, 0.18);
}

.timeline-content.tour {
  background: rgba(26, 39, 68, 0.04);
  border-color: rgba(26, 39, 68, 0.18);
}

.timeline-title {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
}

.timeline-speaker {
  font-family: var(--font-lora);
  font-style: italic;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.2rem;
}

.badge-optional {
  display: inline-block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 0.1rem 0.4rem;
  border-radius: 0;
  vertical-align: middle;
  margin-left: 0.4rem;
}

.tba {
  font-family: var(--font-lora);
  font-style: italic;
  font-size: 0.8rem;
  color: var(--muted);
}

/* ============================================================
   REGISTRATION & ABSTRACT
   ============================================================ */
.reg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.reg-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.reg-card-icon {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.reg-card-icon i { width: 20px; height: 20px; }

.reg-card-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  line-height: 1.25;
}

.reg-dates {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.reg-dates li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.reg-dates li i {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.reg-date-label {
  display: block;
  font-family: var(--font-lora);
  font-style: italic;
  font-size: 0.75rem;
  color: var(--muted);
}

.reg-date-value {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
}

/* ============================================================
   LNGS TOUR
   ============================================================ */
.tour-section {
  position: relative;
  background: #0f4290;
  padding: 5rem 0;
  overflow: hidden;
}

.tour-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(155,61,16,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.tour-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.tour-badge {
  display: inline-block;
  font-family: var(--font-lora);
  font-style: italic;
  font-size: 0.78rem;
  color: rgba(200,146,90,0.85);
  border: 1px solid rgba(200,146,90,0.4);
  padding: 0.2rem 0.7rem;
  border-radius: 0;
  margin-bottom: 1.25rem;
  letter-spacing: 0.05em;
}

.tour-heading {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.tour-date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-lora);
  font-style: italic;
  font-size: 0.95rem;
  color: rgba(200,146,90,0.9);
  margin-bottom: 1.75rem;
}

.tour-date i { width: 16px; height: 16px; }

.tour-benefits {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-bottom: 2rem;
}

.tour-benefits li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.82);
}

.tour-benefits li i {
  width: 16px;
  height: 16px;
  color: rgba(200,146,90,0.85);
  flex-shrink: 0;
}

/* ============================================================
   PRACTICAL INFORMATION
   ============================================================ */
.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.info-col-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 1.25rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border);
}

.info-col-title i { width: 18px; height: 18px; color: var(--accent); }

/* Hotel list */
.hotel-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.hotel-group-label {
  grid-column: 1 / -1;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding-top: 0.75rem;
}

.hotel-group-label:first-child {
  padding-top: 0;
}

.hotel-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.hotel-card:hover {
  border-color: var(--accent);
  background: var(--surface);
}

.hotel-card--nolink {
  cursor: default;
}

.hotel-card--nolink:hover {
  border-color: var(--border);
  background: var(--bg);
}

.hotel-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.hotel-name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
}

.hotel-area {
  font-family: var(--font-lora);
  font-style: italic;
  font-size: 0.78rem;
  color: var(--muted);
}

.hotel-icon {
  width: 14px;
  height: 14px;
  color: var(--muted);
  flex-shrink: 0;
}

/* Travel list */
.travel-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.travel-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.travel-icon {
  width: 36px;
  height: 36px;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 0;
}

.travel-icon i { width: 16px; height: 16px; color: var(--accent); }

.travel-label {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 0.15rem;
}

.travel-desc {
  font-size: 0.82rem;
  color: var(--muted);
}

/* Shuttle alert */
.shuttle-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: rgba(155, 61, 16, 0.06);
  border: 1px solid rgba(155, 61, 16, 0.25);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
}

.shuttle-alert i {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.shuttle-alert strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.15rem;
}

.shuttle-alert p {
  font-family: var(--font-lora);
  font-style: italic;
  font-size: 0.82rem;
  color: var(--muted);
}

/* ---------- Map ---------- */
.map-wrap {
  margin-top: 2.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

/* ============================================================
   SPONSORS
   ============================================================ */
.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.sponsor-item {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.sponsor-item[aria-hidden="true"] {
  display: none;
}

.sponsor-logo {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.7;
  transition: filter 0.2s, opacity 0.2s;
}

.sponsor-item:hover .sponsor-logo {
  filter: grayscale(0);
  opacity: 1;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #0f4290;
  padding: 0;
  color: rgba(255,255,255,0.75);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  margin-bottom: 1rem;
}

.footer-brand-name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 0.4rem;
}

.footer-tagline {
  font-family: var(--font-lora);
  font-style: italic;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.55;
}

.footer-col-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.04em;
  margin-bottom: 1.1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-contacts {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contacts li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.footer-contacts li i {
  width: 15px;
  height: 15px;
  color: rgba(200,146,90,0.75);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-email {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s;
  word-break: break-all;
}

.footer-email:hover { color: rgba(200,146,90,0.9); }

.footer-social {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.social-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  border-radius: 0;
  transition: border-color 0.2s, color 0.2s;
}

.social-btn:hover {
  border-color: rgba(200,146,90,0.7);
  color: rgba(200,146,90,0.9);
}

.social-btn i { width: 16px; height: 16px; }

.footer-bottom {
  padding: 1.25rem 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}

.footer-credit {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-credit:hover { color: rgba(255,255,255,0.8); }

/* ============================================================
   RESPONSIVE — 768px
   ============================================================ */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-mobile.open { display: flex; }

  .timeline-group-label {
    margin-left: 0;
  }

  .hero {
    min-height: 80vh;
    background-image: url('assets/header-mobile.avif');
    padding-top: calc(var(--nav-h) + 9rem);
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(9, 59, 128, 0.4) 2.97%, rgba(9, 59, 128, 0) 21.31%), linear-gradient(219.21deg, rgba(9, 59, 128, 0) 19.8%, rgba(9, 59, 128, 0) 48.51%, rgba(9, 59, 128, 0.6) 74.86%);
  }

  .hero-content {
    padding: 0 1.5rem;
    margin-left: 0;
    text-align: center;
    align-items: center;
    display: flex;
    flex-direction: column;
  }

  .hero-location { justify-content: center; }
  .hero-location svg { display: none; }

  .section { padding: 3.5rem 0; }

  .timeline {
    padding-left: 2rem;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .timeline-item::before {
    left: calc(0.375rem - 2rem - 6px);
  }

  .timeline::before {
    left: 0.375rem;
  }

  .timeline-time {
    font-size: 0.78rem;
    color: var(--muted);
  }

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

  .hotel-list {
    grid-template-columns: 1fr;
  }

  .sponsors-scroll {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  }

  .sponsors-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 2.5rem;
    width: max-content;
    animation: sponsors-marquee 30s linear infinite;
  }

  .sponsor-item {
    flex-shrink: 0;
    width: 120px;
  }

  .sponsor-item[aria-hidden="true"] {
    display: flex;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .schedule-tabs {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .tab-btn {
    padding: 0.75rem 1.1rem;
    font-size: 0.875rem;
    white-space: nowrap;
    min-width: max-content;
  }

  .tab-label { display: none; }

  .tab-btn .tab-date {
    font-size: 0.95rem;
    color: var(--text);
  }

  .tab-btn.active .tab-date {
    color: var(--accent);
  }
}

/* ============================================================
   RESPONSIVE — 480px
   ============================================================ */
@media (max-width: 480px) {
  .container { padding: 0 1rem; }

  .hero-heading {
    font-size: clamp(1.9rem, 9vw, 2.1rem);
  }

  .section-title {
    font-size: 1.6rem;
  }

  .committee-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }

  .committee-names {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .committee-badges {
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
  }

  .lab-badge,
  .uni-badge {
    width: auto;
    flex: 1 1 auto;
  }

  .person-avatar {
    width: 120px;
    height: 120px;
  }

  .committee-divider { margin-top: 0; }


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

  .footer-contacts li { flex-direction: column; gap: 0.25rem; }
}
