/* =========================================================
   QLS Day 2025 — páginas de evento (Panamá City / Santiago)
   ========================================================= */

:root {
  --red: #eb1c24;
  --red-hover: #f44336;
  --black: #000;
  --white: #fff;
  --text: #3a3a3a;
  --font-head: "Barlow Semi Condensed", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --font-body: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* =========================================================
   Header
   ========================================================= */

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 100px;
}

.site-header__inner {
  display: flex;
  align-items: center;
}

.site-header__logo img {
  width: 130px;
  transition: width 0.3s ease;
}

.site-nav {
  margin-left: auto;
}

.site-nav ul {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: block;
  padding: 10px 20px;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--red);
}

.site-header__flag {
  width: 50px;
  margin-left: 10px;
}

.burger,
.site-nav__close,
.nav-overlay {
  display: none;
}

/* Header fijo al hacer scroll (solo escritorio) */
@media (min-width: 960px) {
  .site-header.is-sticky {
    position: fixed;
    background: var(--white);
    box-shadow: 0 2px 8px 1px rgba(0, 0, 0, 0.1);
    animation: header-in 0.35s ease;
  }

  .site-header.is-sticky .site-header__logo img {
    width: 80px;
    margin: 8px 0;
  }

  .site-header.is-sticky .site-nav a {
    color: var(--black);
  }

  .site-header.is-sticky .site-nav a:hover {
    color: var(--red);
  }
}

@keyframes header-in {
  from { transform: translateY(-100%); }
  to   { transform: translateY(0); }
}

/* =========================================================
   Hero
   ========================================================= */

.hero-event {
  position: relative;
  min-height: 640px;
  min-height: max(88vh, 640px);
  overflow: hidden;
  color: var(--white);
  background: #2b2b2b url("../assets/img/day25/hero-seminario.webp") center / cover no-repeat;
}

.hero-event::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

/* Cápsula "Nos veremos en…" pegada al borde izquierdo */
.hero-event__pill {
  position: absolute;
  top: max(160px, 21%);
  left: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px 12px 20px;
  color: var(--black);
  background: var(--white);
  border-radius: 0 999px 999px 0;
}

.hero-event__pill p {
  margin: 0;
  font-size: clamp(18px, 1.3vw, 25px);
  line-height: 1.2;
}

.hero-event__pill img {
  width: clamp(56px, 3.7vw, 92px);
  border-radius: 50%;
}

/* Frase con flecha animada */
.hero-event__tagline {
  position: absolute;
  top: max(170px, 21%);
  left: 62.5%;
  z-index: 2;
}

.hero-event__arrow {
  display: block;
  width: clamp(28px, 1.8vw, 44px);
  height: auto;
  margin-bottom: 10px;
  animation: arrow-bounce 1.6s ease-in-out infinite;
}

.hero-event__tagline p {
  margin: 0;
  font-size: clamp(24px, 1.9vw, 48px);
  line-height: 1.25;
}

@keyframes arrow-bounce {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(8px, 8px); }
}

/* Cinta "QLS DAY 2025 PANAMÁ" de derecha a izquierda */
.marquee {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10%;
  z-index: 1;
  height: min(17vw, 40vh);
  overflow: hidden;
}

.marquee__track {
  display: flex;
  width: max-content;
  height: 100%;
  animation: marquee 24s linear infinite;
}

.marquee__track img {
  box-sizing: content-box;
  width: auto;
  max-width: none;
  height: 100%;
  padding-right: 6vw;
}

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

/* =========================================================
   Tablet y móvil: header blanco fijo + menú lateral
   ========================================================= */

@media (max-width: 959px) {
  .site-header {
    position: fixed;
    padding: 5px 20px;
    background: var(--white);
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.36);
  }

  .site-header__logo img {
    width: 70px;
  }

  .site-header__flag {
    width: 40px;
    margin-left: auto;
  }

  .burger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-left: 12px;
    padding: 0;
    background: none;
    border: 0;
    cursor: pointer;
  }

  .burger span,
  .burger span::before,
  .burger span::after {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--black);
  }

  .burger span {
    position: relative;
  }

  .burger span::before,
  .burger span::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .burger span::before { top: -9px; }
  .burger span::after  { top: 9px; }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 120;
    width: min(300px, 85vw);
    height: 100%;
    margin: 0;
    padding: 80px 30px 30px;
    overflow-y: auto;
    background: var(--white);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.35s ease, visibility 0.35s;
  }

  .site-nav.is-open {
    transform: translateX(0);
    visibility: visible;
  }

  .site-nav ul {
    flex-direction: column;
  }

  .site-nav a {
    padding: 12px 0;
    font-size: 20px;
    color: var(--black);
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    color: var(--red-hover);
  }

  .site-nav__close {
    display: block;
    position: absolute;
    top: 20px;
    left: 24px;
    padding: 6px;
    font-size: 20px;
    line-height: 1;
    color: var(--black);
    background: none;
    border: 0;
    cursor: pointer;
  }

  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 110;
    background: rgba(0, 0, 0, 0.23);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s;
  }

  .nav-overlay.is-open {
    opacity: 1;
    visibility: visible;
  }
}

/* ---------- Móvil: hero apilado ---------- */

@media (max-width: 767px) {
  .hero-event {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100svh;
    padding-top: 120px;
    background-position: 35% center;
  }

  .hero-event__pill,
  .hero-event__tagline {
    position: relative;
    top: auto;
    left: auto;
  }

  .hero-event__pill {
    align-self: flex-start;
    gap: 12px;
    padding: 8px 10px 8px 16px;
  }

  .hero-event__pill p {
    font-size: 17px;
  }

  .hero-event__pill img {
    width: 56px;
  }

  .hero-event__tagline {
    margin: 48px 24px 0;
  }

  .hero-event__tagline p {
    font-size: 30px;
  }

  .marquee {
    position: relative;
    bottom: auto;
    height: 130px;
    margin: auto 0 48px;
    padding-top: 40px;
    box-sizing: content-box;
  }

  .marquee__track {
    animation-duration: 12s;
  }
}

/* =========================================================
   Elementos compartidos de las secciones
   ========================================================= */

.container {
  width: 100%;
  max-width: 1162px;
  margin: 0 auto;
  padding: 0 20px;
}

.welcome,
.speakers,
.banner-band,
.modal {
  font-family: var(--font-head);
  font-weight: 500;
}

/* Que el header fijo no tape el inicio de la sección al navegar */
section[id] {
  scroll-margin-top: 96px;
}

@media (max-width: 959px) {
  section[id] {
    scroll-margin-top: 80px;
  }
}

.eyebrow {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--black);
}

.display-title {
  margin: 0;
  font-size: 90px;
  font-weight: 500;
  line-height: 1.1;
  color: var(--black);
}

.display-title--upper {
  font-weight: 400;
  text-transform: uppercase;
}

/* =========================================================
   Bienvenida
   ========================================================= */

.welcome {
  padding: 60px 0 40px;
  overflow: hidden;
}

.welcome__inner {
  position: relative;
}

.welcome__art {
  width: 100%;
  pointer-events: none;
  user-select: none;
}

.welcome__content {
  position: absolute;
  top: 2.5%;
  left: 39.6%;
  width: 55.8%;
}

.welcome__card {
  margin-top: 70px;
  padding: 90px 94px 75px;
  color: var(--white);
  background: var(--red);
  transition: background-color 0.3s ease;
}

.welcome__card:hover,
.welcome__card.is-active {
  background: var(--black);
}

.welcome__card h3 {
  margin: 0 0 36px;
  font-size: 50px;
  font-weight: 500;
  line-height: 1;
}

.welcome__card p {
  margin: 0;
  font-size: 16px;
  line-height: 25px;
}

.arrow-link {
  display: table;
  margin: 75px 0 0 auto;
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  text-decoration: none;
}

.arrow-link::before {
  content: "›";
  margin-right: 6px;
  font-size: 18px;
}

.arrow-link:hover {
  color: var(--red);
}

/* =========================================================
   Expositores
   ========================================================= */

.speakers {
  padding: 60px 0 100px;
}

.speakers .display-title {
  margin-bottom: 96px;
}

.speakers__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 90px 27px;
}

.speaker__photo {
  width: 100%;
  aspect-ratio: 768 / 620;
  object-fit: cover;
}

.speaker__body {
  margin: 0 60px;
  padding-top: 44px;
}

.speaker__tag-row {
  padding-bottom: 44px;
  border-bottom: 3px solid #919191;
}

.speaker__tag {
  display: inline-block;
  padding: 10px 21px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--white);
  background: var(--red);
  border-radius: 30px;
}

.speaker__name {
  margin: 46px 0 24px;
  font-size: 50px;
  font-weight: 500;
  line-height: 1;
  color: var(--black);
}

.speaker__bio p {
  margin: 0;
  font-size: 16px;
  line-height: 1.72;
  color: var(--text);
}

.speaker__more {
  margin-top: 18px;
  padding: 0;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
  background: none;
  border: 0;
  cursor: pointer;
}

.speaker__more:hover {
  color: var(--black);
}

/* =========================================================
   Banda roja
   ========================================================= */

.banner-band {
  position: relative;
  padding: 34px 20px;
  text-align: center;
  background: #3a0000 url("../assets/img/day25/banda-globulos.webp") center / cover no-repeat;
}

.banner-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.56);
}

.banner-band p {
  position: relative;
  margin: 0;
  font-size: 38px;
  line-height: 1.3;
  color: var(--white);
}

/* =========================================================
   Ventana de expositor
   ========================================================= */

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal[hidden] {
  display: none;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.68);
}

.modal__dialog {
  position: relative;
  display: grid;
  grid-template-columns: 42% 1fr;
  width: 100%;
  max-width: 920px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: var(--white);
  animation: modal-in 0.3s ease;
}

.modal__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal__body {
  padding: 48px 44px 44px;
}

.modal__body .speaker__name {
  margin: 28px 0 20px;
  font-size: 40px;
}

.modal__bio p {
  margin: 0;
  font-size: 16px;
  line-height: 1.72;
  color: var(--text);
}

.modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 1;
  width: 40px;
  height: 40px;
  font-size: 20px;
  line-height: 1;
  color: var(--black);
  background: var(--white);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

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

/* =========================================================
   Encabezado de sección con línea roja
   ========================================================= */

.section-head {
  display: flex;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 56px;
}

.section-head .display-title {
  margin: 0;
}

.section-head::after {
  content: "";
  flex: 0 1 470px;
  height: 3px;
  margin: 0 0 22px auto;
  background: var(--red);
}

/* =========================================================
   Agenda
   ========================================================= */

.agenda {
  position: relative;
  padding: 110px 0;
  font-family: var(--font-head);
  font-weight: 500;
  background-color: #eef2f5;
  background-image:
    radial-gradient(circle at 0% 0%, rgba(235, 28, 36, 0.12), transparent 38%),
    radial-gradient(circle at 100% 100%, rgba(235, 28, 36, 0.09), transparent 42%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100' viewBox='0 0 56 100'%3E%3Cpath d='M28 66L0 50L0 16L28 0L56 16L56 50L28 66L28 100' fill='none' stroke='%23cfd7df' stroke-width='1'/%3E%3Cpath d='M28 0L28 34L0 50L0 84L28 100L56 84L56 50L28 34' fill='none' stroke='%23dde3e9' stroke-width='1'/%3E%3C/svg%3E");
  background-size: auto, auto, 56px 100px;
}

.agenda__card {
  max-width: 1122px;
  background: var(--white);
  border-top: 4px solid var(--red);
  box-shadow: 0 24px 60px -24px rgba(16, 24, 40, 0.28);
}

.agenda__date {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 36px 44px;
  border-bottom: 1px solid #e6e9ee;
}

.agenda__day {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  line-height: 1;
  color: var(--white);
  background: var(--red);
}

.agenda__day-num {
  font-size: 42px;
  font-weight: 700;
}

.agenda__day-month {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.agenda__date-title {
  margin: 0;
  font-size: 42px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--black);
}

.agenda__date-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 17px;
  color: #5f6670;
  text-decoration: none;
}

.agenda__date-meta svg {
  width: 18px;
  height: 18px;
  color: var(--red);
}

.agenda__date-meta:hover {
  color: var(--red);
}

.agenda__block {
  padding: 36px 44px 20px;
}

.agenda__label {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
}

.timeline {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Línea vertical que une los puntos */
.timeline::before {
  content: "";
  position: absolute;
  top: 28px;
  bottom: 28px;
  left: 5px;
  width: 2px;
  background: #f3c5c7;
}

.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 28px;
  align-items: baseline;
  padding: 16px 0 16px 30px;
  border-bottom: 1px dashed #e1e6eb;
}

.timeline__item:last-child {
  border-bottom: 0;
}

.timeline__item::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 0;
  width: 12px;
  height: 12px;
  background: var(--white);
  border: 3px solid var(--red);
  border-radius: 50%;
}

.timeline__time {
  font-size: 17px;
  font-weight: 700;
  color: var(--black);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.timeline__title {
  margin: 0;
  font-size: 20px;
  line-height: 1.4;
  color: #1f2328;
}

.agenda__rooms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid #e6e9ee;
}

.room {
  padding: 36px 44px 44px;
}

.room + .room {
  border-left: 1px solid #e6e9ee;
}

.room__name {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--black);
}

.room__name::before {
  content: "";
  width: 6px;
  height: 26px;
  background: var(--red);
}

.room--qc .room__name::before {
  background: var(--black);
}

.room__list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.session {
  padding: 18px 22px;
  background: #f5f7f9;
  border-left: 3px solid var(--red);
  transition: background-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.room--qc .session {
  border-left-color: var(--black);
}

.session:hover {
  background: var(--white);
  box-shadow: 0 10px 28px -14px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

.session__time {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--red);
  font-variant-numeric: tabular-nums;
}

.room--qc .session__time {
  color: var(--black);
}

.session__title {
  margin: 6px 0 0;
  font-size: 19px;
  line-height: 1.35;
  color: #1f2328;
}

/* =========================================================
   Galería
   ========================================================= */

.gallery {
  padding: 100px 0 60px;
  font-family: var(--font-head);
  font-weight: 500;
}

.gallery .section-head {
  margin-bottom: 20px;
}

.gallery__intro {
  margin: 0 0 44px;
  font-size: 17px;
  color: var(--text);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 230px;
  gap: 10px;
  grid-template-areas:
    "g1 g1 g2 g3"
    "g1 g1 g4 g3"
    "g5 g5 g6 g7"
    "g8 g9 g6 g10";
}

.gallery__item:nth-child(1)  { grid-area: g1; }
.gallery__item:nth-child(2)  { grid-area: g2; }
.gallery__item:nth-child(3)  { grid-area: g3; }
.gallery__item:nth-child(4)  { grid-area: g4; }
.gallery__item:nth-child(5)  { grid-area: g5; }
.gallery__item:nth-child(6)  { grid-area: g6; }
.gallery__item:nth-child(7)  { grid-area: g7; }
.gallery__item:nth-child(8)  { grid-area: g8; }
.gallery__item:nth-child(9)  { grid-area: g9; }
.gallery__item:nth-child(10) { grid-area: g10; }

/* Variante para galerías de 9 fotos (Santiago) */
.gallery__grid.gallery__grid--9 {
  grid-template-areas:
    "g1 g1 g2 g3"
    "g1 g1 g4 g3"
    "g5 g5 g6 g7"
    "g8 g8 g6 g9";
}

@media (max-width: 767px) {
  .gallery__grid.gallery__grid--9 {
    grid-template-areas:
      "g1 g1"
      "g1 g1"
      "g2 g3"
      "g4 g3"
      "g5 g5"
      "g6 g7"
      "g6 g9"
      "g8 g8";
  }
}

.gallery__item {
  position: relative;
  display: block;
  padding: 0;
  overflow: hidden;
  background: #d9dde2;
  border: 0;
  cursor: zoom-in;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.45), transparent 55%);
  box-shadow: inset 0 -4px 0 var(--red);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery__item:hover img,
.gallery__item:focus-visible img {
  transform: scale(1.06);
}

.gallery__item:hover::after,
.gallery__item:focus-visible::after {
  opacity: 1;
}

.gallery__item:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
}

/* ---------- Visor ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 210;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 10, 0.93);
  font-family: var(--font-head);
}

.lightbox[hidden] {
  display: none;
}

.lightbox__figure {
  margin: 0;
  text-align: center;
}

.lightbox__img {
  max-width: min(92vw, 1600px);
  max-height: 84vh;
  margin: 0 auto;
  object-fit: contain;
  animation: modal-in 0.25s ease;
}

.lightbox__count {
  margin-top: 12px;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: #c9c9c9;
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.lightbox__close:hover,
.lightbox__nav:hover {
  background: var(--red);
}

.lightbox__close {
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  font-size: 20px;
}

.lightbox__nav {
  top: 50%;
  width: 54px;
  height: 54px;
  margin-top: -27px;
  font-size: 38px;
  line-height: 1;
  padding-bottom: 4px;
}

.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }

/* =========================================================
   Ubicación
   ========================================================= */

.location {
  padding: 40px 0 0;
  font-family: var(--font-head);
  font-weight: 500;
}

.location__inner {
  display: grid;
  grid-template-columns: minmax(0, 545px) 1fr;
  gap: 50px;
  align-items: center;
  max-width: 1086px;
}

.location__map {
  aspect-ratio: 545 / 435;
  background: #e5e9ee;
}

.location__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.location__title {
  margin: 0;
  font-size: 80px;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
  color: #d10305;
}

.location__place {
  margin: 14px 0 10px;
  font-size: 48px;
  line-height: 1.05;
  color: var(--black);
}

.location__address {
  margin: 0;
  font-size: 24px;
  line-height: 1.1;
  color: var(--text);
}

.location__btn {
  display: inline-block;
  margin-top: 28px;
  padding: 10px 26px;
  font-size: 18px;
  color: var(--white);
  text-decoration: none;
  background: var(--red);
  border-radius: 30px;
  transition: background-color 0.25s ease;
}

.location__btn:hover {
  background: var(--black);
}

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  position: relative;
  padding: 50px 0 18px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--white);
  background: #191919 url("../assets/img/day25/hero-seminario.webp") center / cover no-repeat;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(25, 25, 25, 0.82);
}

.site-footer__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  text-align: center;
}

.site-footer__brand img {
  width: 96px;
  margin: 0 auto 14px;
}

.site-footer p {
  margin: 0;
}

.site-footer__muted-link {
  display: inline-block;
  margin-top: 16px;
  color: #d6d6d6;
  text-decoration: none;
}

.site-footer__muted-link:hover {
  color: var(--white);
}

.site-footer__contact h2 {
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

.site-footer__contact a {
  color: var(--white);
  text-decoration: none;
}

.site-footer__contact a:hover {
  color: var(--red);
}

.site-footer__social {
  display: inline-flex;
  margin-top: 18px;
  transition: transform 0.25s ease;
}

.site-footer__social:hover {
  transform: scale(1.1);
}

.site-footer__social svg {
  width: 37px;
  height: 37px;
}

.site-footer__copy {
  position: relative;
  margin: 34px 0 0 !important;
  padding: 0 20px;
  font-weight: 500;
  text-align: center;
  color: #b5b5b5;
}

/* ---------- Agenda, galería, ubicación y footer: tablet ---------- */

@media (max-width: 1100px) {
  .location__title {
    font-size: 64px;
  }

  .location__place {
    font-size: 40px;
  }
}

@media (max-width: 959px) {
  .section-head {
    gap: 20px;
    margin-bottom: 36px;
  }

  .section-head::after {
    flex: 1 1 60px;
    margin-bottom: 14px;
  }

  .agenda {
    padding: 72px 0;
  }

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

  .room + .room {
    border-left: 0;
    border-top: 1px solid #e6e9ee;
  }

  .gallery__grid {
    grid-auto-rows: 170px;
  }

  .location__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .location__info {
    order: -1;
  }

  .location__map {
    aspect-ratio: 4 / 3;
  }
}

/* ---------- Agenda, galería, ubicación y footer: móvil ---------- */

@media (max-width: 767px) {
  .agenda {
    padding: 56px 0;
  }

  .agenda__date {
    gap: 16px;
    padding: 24px 20px;
  }

  .agenda__day {
    width: 64px;
    height: 64px;
  }

  .agenda__day-num {
    font-size: 30px;
  }

  .agenda__day-month {
    font-size: 11px;
  }

  .agenda__date-title {
    font-size: 28px;
  }

  .agenda__date-meta {
    align-items: flex-start;
    font-size: 15px;
  }

  .agenda__date-meta svg {
    flex: none;
    margin-top: 2px;
  }

  .agenda__block {
    padding: 28px 20px 12px;
  }

  .timeline__item {
    grid-template-columns: 1fr;
    gap: 2px;
    padding-left: 28px;
  }

  .timeline__item::before {
    top: 21px;
  }

  .timeline__title {
    font-size: 18px;
  }

  .room {
    padding: 28px 20px 32px;
  }

  .room__name {
    font-size: 22px;
  }

  .session {
    padding: 14px 16px;
  }

  .session__title {
    font-size: 17px;
  }

  .gallery {
    padding: 64px 0 40px;
  }

  .gallery__intro {
    margin-bottom: 28px;
  }

  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 140px;
    gap: 6px;
    grid-template-areas:
      "g1 g1"
      "g1 g1"
      "g2 g3"
      "g4 g3"
      "g5 g5"
      "g6 g7"
      "g6 g8"
      "g9 g10";
  }

  .lightbox__nav {
    top: auto;
    bottom: 20px;
    margin-top: 0;
    width: 48px;
    height: 48px;
  }

  .lightbox__nav--prev { left: calc(50% - 60px); }
  .lightbox__nav--next { right: calc(50% - 60px); }

  .lightbox__img {
    max-height: 72vh;
  }

  .location {
    padding-top: 24px;
  }

  .location__inner {
    padding: 0;
  }

  .location__info {
    padding: 0 20px;
  }

  .location__title {
    font-size: 52px;
  }

  .location__place {
    font-size: 34px;
  }

  .location__address {
    font-size: 19px;
  }

  .site-footer {
    padding-top: 44px;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery__item img,
  .session,
  .lightbox__img {
    transition: none;
    animation: none;
  }
}

/* ---------- Secciones: tablet ---------- */

@media (max-width: 1100px) {
  .display-title {
    font-size: 72px;
  }

  .welcome__card {
    margin-top: 40px;
    padding: 56px 56px 48px;
  }

  .welcome__card h3 {
    font-size: 40px;
  }

  .arrow-link {
    margin-top: 40px;
  }

  .speaker__body {
    margin: 0 30px;
  }

  .speaker__name {
    font-size: 40px;
  }
}

/* ---------- Secciones: móvil (apilado) ---------- */

@media (max-width: 959px) {
  .welcome {
    padding: 48px 0 20px;
  }

  .welcome__inner {
    display: flex;
    flex-direction: column;
  }

  .welcome__art {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
  }

  .welcome__content {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    margin-top: 24px;
  }

  .display-title {
    font-size: clamp(44px, 10vw, 72px);
  }

  .welcome__card {
    margin-top: 28px;
    padding: 40px 28px 36px;
  }

  .welcome__card h3 {
    margin-bottom: 20px;
    font-size: clamp(28px, 6.5vw, 40px);
  }

  .arrow-link {
    margin-top: 28px;
  }

  .speakers {
    padding: 48px 0 64px;
  }

  .speakers .display-title {
    margin-bottom: 40px;
  }

  .speakers__grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .speaker__body {
    margin: 0 8px;
    padding-top: 28px;
  }

  .speaker__tag-row {
    padding-bottom: 28px;
  }

  .speaker__tag {
    padding: 8px 18px;
    font-size: 16px;
  }

  .speaker__name {
    margin: 28px 0 16px;
    font-size: clamp(30px, 8vw, 40px);
  }

  .banner-band {
    padding: 28px 20px;
  }

  .banner-band p {
    font-size: clamp(22px, 6vw, 32px);
  }

  .modal {
    align-items: flex-end;
    padding: 0;
  }

  .modal__dialog {
    grid-template-columns: 1fr;
    max-height: 92vh;
  }

  .modal__photo {
    height: auto;
    aspect-ratio: 768 / 620;
  }

  .modal__body {
    padding: 28px 24px 36px;
  }

  .modal__body .speaker__name {
    font-size: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .modal__dialog {
    animation: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .marquee__track,
  .hero-event__arrow,
  .site-header.is-sticky {
    animation: none;
  }
}
