/* Programa 2026 — bicromía azul + blanco, hereda tokens */
@import url('../assets/colors_and_type.css');

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: #fff; color: var(--si-azul-impact); font-family: var(--ff-body); }
body { overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; background: transparent; border: 0; cursor: pointer; color: inherit; }
img { display: block; max-width: 100%; }
::selection { background: var(--si-azul-impact); color: #fff; }
html { scroll-behavior: smooth; }

.si-wrap { max-width: 1440px; margin: 0 auto; padding: 0 48px; }

/* Buttons */
.si-btn { display: inline-flex; align-items: center; gap: 12px; font-family: var(--ff-display); font-weight: 600; font-size: 14px; letter-spacing: 0.16em; text-transform: uppercase; padding: 16px 22px; clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px); transition: background var(--dur-sm) var(--ease-atlantic), color var(--dur-sm) var(--ease-atlantic); white-space: nowrap; }
.si-btn--white { background: #fff; color: var(--si-azul-impact); }
.si-btn--white:hover { background: var(--si-azul-horizon); }
.si-btn--ghost-white { border: 1.5px solid #fff; color: #fff; }
.si-btn--ghost-white:hover { background: #fff; color: var(--si-azul-impact); }
.si-btn--blue { background: var(--si-azul-impact); color: #fff; }
.si-btn--blue:hover { background: var(--si-azul-deep); }
.si-btn--ghost-blue { border: 1.5px solid var(--si-azul-impact); color: var(--si-azul-impact); }
.si-btn--ghost-blue:hover { background: var(--si-azul-impact); color: #fff; }
.si-btn .ico { width: 14px; height: 14px; flex: 0 0 auto; }

/* Header */
.si-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: var(--si-azul-impact); color: #fff; border-bottom: 1px solid rgba(255,255,255,0.2); }
.si-header.is-scrolled { background: var(--si-azul-deep); }
.si-header-inner { display: flex; align-items: center; gap: 40px; padding: 18px 48px; max-width: 1440px; margin: 0 auto; }
.si-header-logo { flex: 0 0 auto; display: inline-flex; }
.si-header-logo img { height: 22px; width: auto; display: block; }
.si-header-nav { display: flex; gap: 22px; margin-left: auto; font-family: var(--ff-display); font-weight: 500; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; }
.si-header-nav a { padding: 8px 0; opacity: 0.8; }
.si-header-nav a:hover, .si-header-nav a.is-active { opacity: 1; }
.si-header-cta { padding: 10px 16px; clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); background: #fff; color: var(--si-azul-impact); font-family: var(--ff-display); font-weight: 600; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 10px; }
.si-header-cta:hover { background: var(--si-azul-horizon); }

/* Section heads */
.si-section-head { display: grid; grid-template-columns: 100px 1fr auto; gap: 32px; align-items: baseline; border-top: 1.5px solid currentColor; padding-top: 28px; margin-bottom: 56px; }
.si-section-head .n { font-family: var(--ff-display); font-weight: 600; font-size: 14px; letter-spacing: 0.22em; }
.si-section-head h2 { font-family: var(--ff-display); font-weight: 600; font-size: clamp(40px, 5vw, 72px); line-height: 0.95; letter-spacing: 0.04em; text-transform: uppercase; }
.si-section-head .tail { font-family: var(--ff-body); font-weight: 500; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.6; }

/* HERO */
.si-prog-hero { background: var(--si-azul-impact); color: #fff; padding: 180px 0 96px; position: relative; overflow: hidden; }
.si-prog-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px); background-size: 12.5% 100%; pointer-events: none; }
@keyframes siHeroIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.si-prog-hero-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 64px; align-items: end; position: relative; }
.si-prog-hero h1 { font-family: var(--ff-display); font-weight: 600; font-size: clamp(56px, 8vw, 132px); line-height: 0.9; letter-spacing: 0.03em; text-transform: uppercase; }
.si-prog-hero h1 em { font-style: normal; display: block; opacity: 0.45; font-size: 0.36em; margin-top: 24px; letter-spacing: 0.18em; line-height: 1.2; }
.si-prog-hero .lede { margin-top: 28px; font-family: var(--ff-body); font-size: 17px; line-height: 1.55; max-width: 56ch; opacity: 0.92; }

/* Day count card */
.si-prog-stats { border: 1.5px solid rgba(255,255,255,0.5); padding: 28px; clip-path: var(--chamfer-md); display: flex; flex-direction: column; gap: 14px; }
.si-prog-stats .row { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,0.3); font-family: var(--ff-display); font-weight: 500; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; }
.si-prog-stats .row:last-child { border-bottom: 0; padding-bottom: 0; }
.si-prog-stats .row .v { font-weight: 600; font-size: 22px; letter-spacing: 0.04em; }

/* DAY SWITCHER */
.si-prog-switcher { background: #fff; color: var(--si-azul-impact); padding: 80px 0 0; position: sticky; top: 0; z-index: 30; }
.si-prog-switcher.is-stuck { background: #fff; box-shadow: 0 8px 24px rgba(0,19,255,0.06); padding: 16px 0 0; transition: padding var(--dur-sm) var(--ease-atlantic); }
.si-prog-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1.5px solid currentColor; clip-path: var(--chamfer-md); overflow: hidden; }
.si-prog-tab { padding: 28px 24px; border-right: 1.5px solid currentColor; display: flex; flex-direction: column; gap: 10px; cursor: pointer; transition: background var(--dur-sm) var(--ease-atlantic), color var(--dur-sm) var(--ease-atlantic); text-align: left; }
.si-prog-tab:last-child { border-right: 0; }
.si-prog-tab .nm { font-family: var(--ff-display); font-weight: 600; font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; opacity: 0.7; }
.si-prog-tab .day { font-family: var(--ff-display); font-weight: 600; font-size: clamp(32px, 3.5vw, 52px); line-height: 0.9; letter-spacing: 0.04em; text-transform: uppercase; }
.si-prog-tab .meta { font-family: var(--ff-body); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.55; }
.si-prog-tab.is-active { background: var(--si-azul-impact); color: #fff; }
.si-prog-tab.is-active .nm, .si-prog-tab.is-active .meta { opacity: 0.9; }
.si-prog-tab:hover:not(.is-active) { background: var(--si-azul-horizon); }

/* FILTROS */
.si-prog-filters { padding: 32px 0 16px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.si-prog-filters .group { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.si-prog-filters .lbl { font-family: var(--ff-display); font-weight: 600; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.6; margin-right: 8px; }
.si-chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1.5px solid currentColor; clip-path: var(--chamfer-sm); font-family: var(--ff-display); font-weight: 500; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer; transition: background var(--dur-sm) var(--ease-atlantic), color var(--dur-sm) var(--ease-atlantic); }
.si-chip:hover { background: var(--si-azul-horizon); }
.si-chip.is-active { background: var(--si-azul-impact); color: #fff; }
.si-chip.is-active:hover { background: var(--si-azul-deep); }
.si-prog-filters .sep { width: 1.5px; height: 20px; background: currentColor; opacity: 0.3; margin: 0 8px; }
.si-prog-filters .clear { font-family: var(--ff-display); font-weight: 500; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.55; cursor: pointer; padding: 8px 0; text-decoration: underline; text-underline-offset: 4px; margin-left: auto; }
.si-prog-filters .clear:hover { opacity: 1; }

/* AGENDA */
.si-prog-body { background: #fff; color: var(--si-azul-impact); padding: 40px 0 120px; }
.si-prog-day { display: none; }
.si-prog-day.is-active { display: block; }
.si-prog-day-head { display: flex; justify-content: space-between; align-items: baseline; padding: 24px 0 20px; border-bottom: 1.5px solid currentColor; margin-bottom: 8px; }
.si-prog-day-head .ttl { font-family: var(--ff-display); font-weight: 600; font-size: clamp(28px, 3vw, 40px); line-height: 1; letter-spacing: 0.04em; text-transform: uppercase; }
.si-prog-day-head .meta { font-family: var(--ff-display); font-weight: 500; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.6; }

.si-session { display: grid; grid-template-columns: 130px 1fr 240px 140px; gap: 24px; padding: 24px 16px; border-bottom: 1px solid rgba(0,19,255,0.18); align-items: start; cursor: pointer; transition: background var(--dur-sm) var(--ease-atlantic), padding var(--dur-sm) var(--ease-atlantic); }
.si-session:hover { background: var(--si-azul-horizon); padding-left: 24px; }
.si-session.is-hidden { display: none; }
.si-session .time { font-family: var(--ff-display); font-weight: 600; font-size: 24px; letter-spacing: 0.06em; line-height: 1.1; }
.si-session .time .end { display: block; font-weight: 500; font-size: 13px; opacity: 0.55; margin-top: 4px; letter-spacing: 0.16em; }
.si-session .body .ttl { font-family: var(--ff-display); font-weight: 600; font-size: clamp(18px, 1.7vw, 24px); line-height: 1.15; letter-spacing: 0.03em; text-transform: uppercase; margin-bottom: 10px; }
.si-session .body .desc { font-family: var(--ff-body); font-size: 13px; line-height: 1.5; opacity: 0.75; max-width: 64ch; }
.si-session .speakers { display: flex; flex-direction: column; gap: 4px; font-family: var(--ff-body); font-size: 13px; line-height: 1.4; }
.si-session .speakers .s-name { font-weight: 600; }
.si-session .speakers .s-role { opacity: 0.6; font-size: 12px; }
.si-session .meta-col { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; text-align: right; font-family: var(--ff-display); font-weight: 500; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; }
.si-session .meta-col .stage { padding: 5px 10px; border: 1.5px solid currentColor; clip-path: var(--chamfer-sm); font-weight: 600; }
.si-session .meta-col .track { opacity: 0.7; }
.si-session.is-keynote { background: var(--si-azul-impact); color: #fff; border-bottom: 1px solid rgba(255,255,255,0.2); }
.si-session.is-keynote:hover { background: var(--si-azul-deep); }
.si-session.is-break { opacity: 0.6; }
.si-session.is-break .body .ttl { font-weight: 500; font-size: 16px; opacity: 0.85; }
.si-session.is-break .speakers, .si-session.is-break .meta-col { display: none; }

/* DESTACADAS sidebar / DOWNLOAD card */
.si-prog-aside { background: #fff; color: var(--si-azul-impact); padding: 0 0 120px; }
.si-prog-aside-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; }
.si-featured { border: 1.5px solid currentColor; clip-path: var(--chamfer-md); padding: 36px; }
.si-featured .hd { font-family: var(--ff-display); font-weight: 600; font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; opacity: 0.6; margin-bottom: 24px; }
.si-featured-list { display: flex; flex-direction: column; gap: 16px; }
.si-featured-item { display: grid; grid-template-columns: 80px 1fr auto; gap: 24px; padding: 16px 0; border-top: 1px solid rgba(0,19,255,0.18); align-items: center; }
.si-featured-item:first-child { border-top: 0; padding-top: 0; }
.si-featured-item .t { font-family: var(--ff-display); font-weight: 600; font-size: 18px; line-height: 1; letter-spacing: 0.04em; }
.si-featured-item .ttl { font-family: var(--ff-display); font-weight: 600; font-size: 18px; letter-spacing: 0.03em; text-transform: uppercase; line-height: 1.2; }
.si-featured-item .nm { font-family: var(--ff-body); font-size: 13px; opacity: 0.6; margin-top: 4px; }
.si-featured-item .arr { width: 32px; height: 32px; border: 1.5px solid currentColor; clip-path: var(--chamfer-sm); display: flex; align-items: center; justify-content: center; }

.si-download { background: var(--si-azul-impact); color: #fff; clip-path: var(--chamfer-md); padding: 36px; display: flex; flex-direction: column; gap: 18px; }
.si-download .hd { font-family: var(--ff-display); font-weight: 600; font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; opacity: 0.7; }
.si-download h3 { font-family: var(--ff-display); font-weight: 600; font-size: 28px; line-height: 1; letter-spacing: 0.04em; text-transform: uppercase; }
.si-download p { font-family: var(--ff-body); font-size: 13px; line-height: 1.5; opacity: 0.85; }
.si-download .actions { display: flex; flex-direction: column; gap: 8px; margin-top: auto; }

/* TRACKS LEYENDA */
.si-tracks { background: #fff; color: var(--si-azul-impact); padding: 0 0 140px; }
.si-tracks-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.si-track-chip { border: 1.5px solid currentColor; padding: 24px; clip-path: var(--chamfer-md); display: flex; flex-direction: column; gap: 10px; min-height: 160px; }
.si-track-chip .n { font-family: var(--ff-display); font-weight: 600; font-size: 11px; letter-spacing: 0.22em; opacity: 0.6; }
.si-track-chip .t { font-family: var(--ff-display); font-weight: 600; font-size: 22px; line-height: 1; letter-spacing: 0.04em; text-transform: uppercase; }
.si-track-chip p { font-family: var(--ff-body); font-size: 12px; line-height: 1.5; opacity: 0.8; margin-top: auto; }

/* FOOT */
.si-foot { background: var(--si-azul-impact); color: #fff; padding: 56px 0 32px; border-top: 1.5px solid rgba(255,255,255,0.3); }
.si-foot-inner { display: flex; justify-content: space-between; align-items: center; font-family: var(--ff-display); font-weight: 500; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.85; }

/* Reveal */
[data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--ease-atlantic), transform 0.8s var(--ease-atlantic); }
[data-reveal].is-in { opacity: 1; transform: translateY(0); }
/* Hero items animate in immediately on load (no scroll trigger, no opacity:0 baseline) */
.si-prog-hero-intro { animation: siHeroIn 0.9s var(--ease-atlantic) 0.05s both; }
.si-prog-hero .si-prog-stats.si-prog-hero-intro { animation-delay: 0.22s; }

/* RESPONSIVE */
@media (max-width: 960px) {
  .si-wrap { padding: 0 24px; }
  .si-header-inner { padding: 16px 24px; }
  .si-header-nav { display: none; }
  .si-prog-hero { padding: 140px 0 64px; }
  .si-prog-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .si-prog-tabs { grid-template-columns: 1fr; }
  .si-prog-tab { border-right: 0; border-bottom: 1.5px solid currentColor; }
  .si-prog-tab:last-child { border-bottom: 0; }
  .si-session { grid-template-columns: 80px 1fr; gap: 14px; }
  .si-session .meta-col { grid-column: 2; align-items: flex-start; text-align: left; flex-direction: row; gap: 10px; flex-wrap: wrap; }
  .si-session .speakers { grid-column: 2; }
  .si-prog-aside-grid { grid-template-columns: 1fr; }
  .si-tracks-grid { grid-template-columns: 1fr 1fr; }
  .si-section-head { grid-template-columns: 56px 1fr; }
  .si-section-head .tail { grid-column: 2; }
}
