/* ======================================================
   CSS VARIABLES & RESET
====================================================== */
:root {
  --navy:      #02122b;
  --blue:      #2b3b93;
  --white:     #ffffff;
  --light-bg:  #f4f6fb;
  --accent:    #018ffb;
  --gold:      #fece00;
  --deep-navy: #222c57;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  font-size: 16px;
  height: 100%;
}
body {
  font-family: 'Poppins', sans-serif;
  background: var(--white);
  color: #1a1a2e;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ======================================================
   HEADER / NAV
====================================================== */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--navy);
  padding: 0 80px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between; 
  transition: box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}
#site-header.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.35);
  backdrop-filter: blur(8px);
}
.header-logos {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header-logos img {
  height: 52px;
  width: auto;
}
.logo-placeholder-box {
  height: 40px;
  width: 110px;
  background: rgba(255,255,255,0.12);
  border: 1px dashed rgba(255,255,255,0.35);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  font-family: 'Poppins', sans-serif;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin-left: 0;
  margin-right: 0;
}
.desktop-nav a {
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 16px;
  padding: 8px 22px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.desktop-nav a:hover {
  background: rgba(255,255,255,0.1);
  color: var(--gold);
}
    .desktop-nav a.active,
    .desktop-nav a[aria-current="page"] {
      color: var(--gold);
      background: rgba(255,255,255,0.1);
      border-bottom: 2px solid var(--gold);
    }
.hamburger {
  display: none; /* hidden on desktop – shown via media query */
  background: none;
  border: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ── Language toggle button ──────────────────────────── */
/* Hide the top banner Google Translate injects */
.goog-te-banner-frame { display: none !important; }
body { top: 0 !important; }

#google-translate-wrapper {
  display: flex;
  align-items: center;
  margin-left: 20px;
  flex-shrink: 0;
}
#lang-toggle {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.45);
  border-radius: 20px;
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 5px 14px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
  line-height: 1;
}
#lang-toggle:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--gold);
  color: var(--gold);
}
@media (max-width: 900px) {
  #google-translate-wrapper { margin-left: 8px; }
  #lang-toggle { font-size: 11px; padding: 4px 10px; }
}
@media (max-width: 400px) {
  #lang-toggle { font-size: 10px; padding: 4px 8px; }
}

/* Mobile overlay */
#mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
#mobile-nav.open {
  display: flex;
  opacity: 1;
}
#mobile-nav a {
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: 26px;
  font-weight: 700;
  transition: color 0.2s;
}
#mobile-nav a:hover { color: var(--gold); }
.mobile-nav-close {
  position: absolute;
  top: 20px; right: 24px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 32px;
  line-height: 1;
}

@media (max-width: 900px) {
  #site-header { padding: 0 24px; height: 72px; }
  section, #home { scroll-margin-top: 72px; }
  .desktop-nav { display: none; }
  .hamburger   { display: flex; }
  .header-logos img { height: 36px; max-width: 140px; }
  .footer-logos img { height: 44px; max-width: 120px; }
   .hero {
    background-size: cover;
    background-position: center top;  /* enfoca la parte superior en tablet */
    min-height: 480px;
    padding: 120px 24px 60px;
  }
}
@media (max-width: 480px) {
  .footer-logos { gap: 16px; }
  .footer-logos img { height: 36px; max-width: 100px; }
  .hero {
    background-size: cover;
    background-position: center 20%;  /* ajusta según donde esté el foco de tu imagen */
    min-height: 400px;
    padding: 110px 20px 60px;
  }

}


/* ======================================================
   PAGE OFFSET (fixed header)
====================================================== */
section, #home { scroll-margin-top: 96px; }

/* footer sticks to bottom */
#site-footer { margin-top: auto; }

/* ======================================================
   HERO
====================================================== */
.hero {
  background:
    url('https://ai-salud.s3.eu-west-1.amazonaws.com/cabecera%201.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 156px 24px 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(0,194,203,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner { max-width: 820px; position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-block;
  background: rgba(254,206,0,0.15);
  border: 1px solid rgba(254,206,0,0.5);
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 20px;
  margin-bottom: 24px;
}
.hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 18px;
}
.hero h1 span { color: var(--accent); }
.hero-sub {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #f4f6fb;
  margin-bottom: 40px;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border: 2px solid var(--gold);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: 8px;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.btn-primary:hover { background: #e6b800; border-color: #e6b800; transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--gold);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: 8px;
  border: 2px solid rgba(254,206,0,0.7);
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.btn-outline:hover { background: rgba(254,206,0,0.12); border-color: var(--gold); transform: translateY(-2px); }

.hero-meta {
  display: inline-flex;
  align-items: center;
  margin-bottom: 36px;
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  padding: 0 16px;
}

.hero-meta-item i {
  display: flex;          /* ← clave para que Flaticon renderice */
  font-size: 1.4rem;
  flex-shrink: 0;
}

.hero-meta-item span {
  line-height: 1.2;
}

.hero-meta-item span strong {
  font-weight: 700;
}

.hero-meta-divider {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
}
/* ======================================================
   HOME LEAD (intro entradilla)
====================================================== */
.home-lead-wrap {
  background: var(--white);
  padding: 64px 24px 0;
  display: flex;
  justify-content: center;
}
.home-lead {
  max-width: 1100px;
  width: 100%;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.75;
  text-align: left;
}
.home-lead strong {
  font-weight: 700;
}
@media (max-width: 900px) {
  .home-lead-wrap { padding: 48px 24px 0; }
  .home-lead { font-size: clamp(1.05rem, 3vw, 1.25rem); }
}
@media (max-width: 600px) {
  .home-lead-wrap { padding: 40px 16px 0; }
  .home-lead { font-size: 1rem; padding-left: 16px; }
}

/* ======================================================
   HOME BLOCKS (alternating video + text)
====================================================== */
#home { background: var(--white); }
.home-blocks { padding: 80px 0; }
.home-blocks-heading {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--blue);
  text-align: center;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 64px;
  padding: 0 24px;
}
.home-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1200px;
  margin: 0 auto 80px;
  padding: 0 24px;
  gap: 56px;
  align-items: center;
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.home-block.visible { opacity: 1; transform: translateY(0); }
.home-block.reverse .block-video { order: 2; }
.home-block.reverse .block-text  { order: 1; }
.media-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--navy);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  overflow: hidden;
}
.block-video-player {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 14px;
  display: block;
  background: #000;
  box-shadow: 0 8px 32px rgba(2,18,43,0.22);
}
.media-placeholder .play-icon {
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,0.12);
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.media-placeholder .play-icon svg { fill: var(--white); width: 28px; height: 28px; margin-left: 4px; }
.media-placeholder .placeholder-label {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  text-align: center;
  padding: 0 16px;
}
.block-tag {
  display: inline-block;
  background: rgba(0,194,203,0.12);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.block-text h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 16px;
  line-height: 1.25;
}
.block-text p {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  color: #3a3a5c;
  line-height: 1.75;
}
.block-accent-line {
  width: 48px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
  margin: 18px 0;
}

@media (max-width: 1024px) {
  .home-block {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 64px;
    max-width: 720px;
  }
  .home-block.reverse .block-video { order: 1; }
  .home-block.reverse .block-text  { order: 2; }
}
@media (max-width: 600px) {
  .home-block {
    padding: 0 16px;
    gap: 20px;
    margin-bottom: 48px;
  }
  .home-blocks { padding: 48px 0; }
}

/* ======================================================
   AGENDA
====================================================== */
#agenda {
  background: var(--light-bg);
  padding: 116px 24px 80px;
}
.section-heading {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--blue);
  text-align: center;
  margin-bottom: 8px;
}
.section-subheading {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  text-align: center;
  color: #555;
  font-size: 1.05rem;
  margin-bottom: 48px;
}
.agenda-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start; /* cards expand independently */
}
.day-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(43,59,147,0.08);
}
.day-card-header {
  background: var(--blue);
  color: var(--white);
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.day-card-header h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
}
.day-card-header .day-date {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
  font-weight: 400;
  margin-top: 2px;
}
.btn-toggle {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 6px;
  white-space: nowrap;
  transition: background 0.2s;
  flex-shrink: 0;
}
.btn-toggle:hover { background: rgba(255,255,255,0.28); }
.day-card-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}
.day-card-body.open { max-height: 3000px; }
.timeline { padding: 8px 0 16px; }
.timeline-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 0;
  border-bottom: 1px solid rgba(43,59,147,0.07);
}
.timeline-row:last-child { border-bottom: none; }
.t-time {
  padding: 18px 16px 18px 20px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 12.5px;
  color: var(--blue);
  line-height: 1.4;
  border-right: 2px solid var(--light-bg);
}
.t-session {
  padding: 18px 20px;
}
.t-session-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
  margin-bottom: 5px;
}
.t-session-desc {
  font-size: 13px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 10px;
}
.t-session-desc p,
.t-session-desc li {
  font-size: 13px;
}
.t-session-desc p + p { margin-top: 8px; }
.t-session-desc ul {
  padding-left: 18px;
  margin: 6px 0;
}
.t-session-note {
  font-size: 13px;
  color: #555;
  line-height: 1.6;
  margin-top: 10px;
}
.t-speakers { display: flex; flex-direction: column; gap: 4px; }
.t-speaker-item {
  font-size: 12px;
  color: #444;
  padding-left: 12px;
  border-left: 2px solid var(--accent);
  line-height: 1.5;
}
a.agenda-name-link {
  color: inherit;
  text-decoration: none;
}
a.agenda-name-link:hover {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.agenda-room {
  color: var(--accent);
  font-weight: 600;
  font-size: 11px;
}
.speaker-pill {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 7px;
  border-radius: 12px;
  margin-right: 5px;
}
.pill-facilitator { background: rgba(0,194,203,0.15); color: #018ffb; }
.pill-keynote     { background: rgba(43,59,147,0.12); color: var(--blue); }
.pill-speaker     { background: rgba(254,206,0,0.2);  color: #7a6000; }
.timeline-row.break .t-time,
.timeline-row.break .t-session {
  background: var(--light-bg);
}
.timeline-row.break .t-session-title {
  font-style: italic;
  font-weight: 400;
  color: #777;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
}
.timeline-row.break .t-session-title .break-icon,
.break-icon {
  font-size: 16px;
  color: var(--blue) !important;
  vertical-align: middle;
  margin-right: 5px;
  font-style: normal;
}
@media (max-width: 900px) {
  .agenda-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  #agenda { padding: 80px 16px 56px; }
  .timeline-row { grid-template-columns: 76px 1fr; }
  .t-time { padding: 14px 10px 14px 14px; font-size: 11.5px; }
  .t-session { padding: 14px 14px; }
  .t-session-title { font-size: 13px; }
}

/* ======================================================
   SPEAKERS
====================================================== */
#speakers {
  background: var(--white);
  padding: 116px 24px 80px;
}
.tab-bar {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
@media (max-width: 600px) {
  .tab-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 8px;
  }
}
.tab-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  border-radius: 30px;
  border: 2px solid var(--deep-navy);
  background: transparent;
  color: var(--deep-navy);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.tab-btn:hover:not([aria-selected="true"]) {
  background: var(--light-bg);
  border-color: var(--blue);
}
.tab-btn[aria-selected="true"] {
  background: var(--deep-navy);
  color: var(--gold);
  border-color: var(--deep-navy);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.speakers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
@media (max-width: 1024px) {
  .speakers-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .speakers-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .speakers-grid { grid-template-columns: 1fr; }
}
.speaker-card {
  background: var(--white);
  border: 2px solid var(--deep-navy);
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(34,44,87,0.10);
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.25s ease;
  cursor: pointer;
}
.speaker-card:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 28px rgba(254,206,0,0.18);
  transform: translateY(-4px);
}
.speaker-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  overflow: hidden;
  background: linear-gradient(135deg, #c9d0e8 0%, #8a96c4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.speaker-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 50%;
}
.speaker-avatar svg { width: 52px; height: 52px; fill: rgba(255,255,255,0.6); }
.speaker-name {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-top: 14px;
  line-height: 1.3;
}
.speaker-role {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 13px;
  color: var(--blue);
  margin-top: 4px;
}
.speaker-org {
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-size: 12px;
  color: #555;
  font-style: italic;
  margin-top: 2px;
}
.speaker-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.speaker-details-btn {
  margin-top: 20px;
  flex-shrink: 0;
  background: var(--navy);
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
  padding: 5px 16px;
  letter-spacing: 0.06em;
  transition: background 0.2s, color 0.2s;
  display: inline-block;
}
.speaker-card:hover .speaker-details-btn,
.speaker-card:focus .speaker-details-btn {
  background: var(--gold);
  color: var(--navy);
}

/* ======================================================
   FOOTER
====================================================== */
#site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 48px 32px 24px;
}
.footer-top {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 32px;
}
.footer-logos {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}
.footer-logos img {
  height: 60px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}
.footer-contact-label {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.65);
  margin: 0 0 4px;
  line-height: 1.5;
}
.footer-contact-email {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-contact-email:hover { color: var(--accent); }
.footer-contact-phone {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}
.footer-bottom {
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }
@media (max-width: 900px) {
  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
  }
  .footer-logos { justify-content: center; }
  .footer-contact { align-items: center; text-align: center; }
  .footer-links { justify-content: center; flex-wrap: wrap; gap: 14px; }
}
@media (max-width: 600px) {
  #site-footer { padding: 40px 16px 20px; }
  .footer-bottom { font-size: 12px; }
}

/* ======================================================
   RESPONSIVE — shared section rules
====================================================== */
@media (max-width: 600px) {
  #speakers { padding: 80px 16px 56px; }
  .section-heading  { font-size: clamp(1.5rem, 7vw, 2rem); }
  .section-subheading { font-size: 0.95rem; margin-bottom: 32px; }
  .hero { padding: 100px 16px 60px; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .btn-primary, .btn-outline { width: 100%; max-width: 320px; text-align: center; }
  .speaker-card { padding: 20px 14px; }
  .tab-btn { font-size: 13px; padding: 9px 16px; }
}
@media (max-width: 400px) {
  .speakers-grid { grid-template-columns: 1fr; }
}

/* ======================================================
   SPEAKER MODAL
====================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 18, 43, 0.75);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(4px);
}
.modal-overlay[hidden] { display: none !important; }
.modal-card {
  background: var(--white);
  border-radius: 20px;
  max-width: 820px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  display: flex;
  gap: 40px;
  padding: 48px 44px;
  position: relative;
  box-shadow: 0 28px 72px rgba(2,18,43,0.45);
  animation: modal-in 0.25s ease;
}
@keyframes modal-in {
  from { opacity: 0; transform: scale(0.96) translateY(12px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-close {
  position: absolute;
  top: 16px; right: 18px;
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: #aaa;
  padding: 4px 10px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.modal-close:hover { color: var(--navy); background: var(--light-bg); }
.modal-photo-wrap {
  flex-shrink: 0;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--gold);
  background: linear-gradient(135deg, #c9d0e8 0%, #8a96c4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin-top: 6px;
}
.modal-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.modal-photo-wrap svg { width: 72px; height: 72px; fill: rgba(255,255,255,0.6); }
.modal-avatar-fallback { display: none; }
.modal-body { flex: 1; min-width: 0; }
.modal-name {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 8px;
}
.modal-role {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 4px;
}
.modal-org {
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-size: 14px;
  color: #777;
  font-style: italic;
  margin-bottom: 20px;
}
.modal-divider {
  width: 48px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin-bottom: 18px;
}
.modal-bio {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 15px;
  color: #3a3a5c;
  line-height: 1.8;
}
@media (max-width: 640px) {
  .modal-card {
    flex-direction: column;
    align-items: center;
    padding: 40px 20px 28px;
    gap: 22px;
  }
  .modal-body { text-align: center; width: 100%; }
  .modal-divider { margin: 0 auto 18px; }
  .modal-photo-wrap { width: 120px; height: 120px; margin-top: 0; }
  .modal-name { font-size: 1.5rem; }
  .modal-bio  { font-size: 14px; text-align: left; }
}

/* ======================================================
   UTILITIES
====================================================== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.accent-bar {
  width: 56px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
  margin: 12px auto 0;
}

/* ======================================================
   LEGAL PAGES (privacy-policy, cookies)
====================================================== */
.legal-page {
  padding: 140px 24px 80px;
  background: var(--light-bg);
  min-height: 100vh;
}
.legal-container {
  max-width: 860px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 16px;
  padding: 56px 64px;
  box-shadow: 0 4px 24px rgba(34,44,87,0.08);
}
.legal-heading {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.15;
}
.legal-date {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  color: #888;
  margin-bottom: 28px;
}
.legal-container h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--blue);
  margin: 40px 0 12px;
}
.legal-container h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin: 28px 0 10px;
}
.legal-container p,
.legal-container li {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #3a3a5c;
  line-height: 1.8;
}
.legal-container ul {
  padding-left: 24px;
  margin: 12px 0 20px;
}
.legal-container a {
  color: var(--blue);
  font-weight: 500;
  text-decoration: underline;
  transition: color 0.2s;
}
.legal-container a:hover { color: var(--accent); }

/* ======================================================
   COOKIE CONSENT BANNER
====================================================== */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--navy);
  color: var(--white);
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.30);
  font-family: 'Poppins', sans-serif;
  font-size: 0.875rem;
  line-height: 1.6;
}
#cookie-banner.hidden { display: none; }
.cookie-banner-text { flex: 1; }
.cookie-banner-text a { color: var(--gold); text-decoration: underline; }
.cookie-banner-text a:hover { color: #ffe566; }
.cookie-banner-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  align-items: center;
}
.cookie-btn {
  padding: 10px 22px;
  border-radius: 6px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.cookie-btn-accept {
  background: var(--accent);
  color: var(--white);
  border: 2px solid var(--accent);
}
.cookie-btn-accept:hover { background: #0077d6; border-color: #0077d6; }
.cookie-btn-reject {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.45);
}
.cookie-btn-reject:hover { border-color: var(--white); }
@media (max-width: 640px) {
  #cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 20px 24px;
  }
  .cookie-banner-actions { width: 100%; justify-content: stretch; }
  .cookie-btn { flex: 1; text-align: center; }
}
.cookies-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 28px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
}
.cookies-table th {
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  padding: 10px 16px;
  text-align: left;
}
.cookies-table td {
  padding: 10px 16px;
  color: #3a3a5c;
  border-bottom: 1px solid #e8eaf2;
}
.cookies-table tr:last-child td { border-bottom: none; }
.cookies-table tr:nth-child(even) td { background: var(--light-bg); }
@media (max-width: 700px) {
  .legal-container { padding: 36px 24px; }
  .cookies-table { font-size: 13px; }
}
