/* templates/portal/portal.css
 * SPDX-License-Identifier: MIT
 * SPDX-FileCopyrightText: 2026 Sobera <contacto@sobera.mx>
 * Estilos y fuentes locales del portal de presentaciones de Sobera
 */

@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/inter-latin-ext-400.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D1, U+02D8-02DC, U+1E00-1EFF, U+20A0-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/inter-latin-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/inter-latin-ext-600.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D1, U+02D8-02DC, U+1E00-1EFF, U+20A0-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/inter-latin-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/inter-latin-ext-700.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D1, U+02D8-02DC, U+1E00-1EFF, U+20A0-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/inter-latin-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/jetbrains-mono-latin-ext-400.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D1, U+02D8-02DC, U+1E00-1EFF, U+20A0-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/jetbrains-mono-latin-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/jetbrains-mono-latin-ext-600.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D1, U+02D8-02DC, U+1E00-1EFF, U+20A0-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/jetbrains-mono-latin-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/jetbrains-mono-latin-ext-700.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D1, U+02D8-02DC, U+1E00-1EFF, U+20A0-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/jetbrains-mono-latin-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+FEFF, U+FFFD;
}

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

.skip-link {
  position: absolute; top: -100px; left: 20px;
  background: #00f2fe; color: #0a0f1d;
  font-family: 'JetBrains Mono', monospace; font-size: 0.9rem; font-weight: 700;
  padding: 10px 18px; border-radius: 6px; text-decoration: none; z-index: 1000;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 20px; outline: 2px solid #38bdf8; }

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #0a0f1d;
  background-image:
    radial-gradient(circle at 15% 15%, rgba(0, 242, 254, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 85%, rgba(79, 172, 254, 0.08) 0%, transparent 40%);
  background-attachment: fixed;
  color: #f8fafc;
  min-height: 100vh;
  padding: 50px 20px;
}

.container { max-width: 1200px; margin: 0 auto; }
header[role="banner"] { text-align: center; margin-bottom: 56px; }

.header-brand {
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 24px; text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-logo {
  width: 280px; height: auto; max-width: 100%; object-fit: contain;
  filter: drop-shadow(0 0 24px rgba(0, 242, 254, 0.28));
  transition: all 0.3s ease;
}
.header-brand:hover .header-logo {
  transform: scale(1.04);
  filter: drop-shadow(0 0 32px rgba(0, 242, 254, 0.45));
}

h1.portal-title {
  font-family: 'JetBrains Mono', monospace; font-size: 2.6rem; margin-bottom: 12px;
  background: linear-gradient(135deg, #00f2fe 0%, #38bdf8 45%, #4facfe 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  text-transform: none !important;
}

.subtitle { font-size: 1.15rem; color: #94a3b8; letter-spacing: 0.4px; text-transform: none; }

.presentations-grid {
  list-style: none; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px; margin-top: 36px; padding: 0;
}
.presentation-item { display: flex; }

.card {
  position: relative; background: rgba(16, 24, 48, 0.78);
  border: 1px solid rgba(56, 189, 248, 0.24); border-radius: 14px; padding: 30px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex; flex-direction: column; justify-content: space-between; width: 100%;
}
.card:hover, .card:focus-within {
  background: rgba(22, 34, 68, 0.88); border-color: rgba(0, 242, 254, 0.6);
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55), 0 0 24px rgba(0, 242, 254, 0.16);
}
.card:focus-within { outline: 2px solid #00f2fe; outline-offset: 2px; }

.card-header { margin-bottom: 12px; }
.card-title {
  font-family: 'JetBrains Mono', monospace; color: #38bdf8;
  font-size: 1.4rem; line-height: 1.35; text-transform: none !important;
}
.card-link { color: inherit; text-decoration: none; }
.card-link::after { content: ""; position: absolute; inset: 0; border-radius: 14px; }

.card-description {
  color: #cbd5e1; line-height: 1.6; font-size: 0.98rem; flex-grow: 1; margin-bottom: 22px;
}
.card-footer { margin-top: auto; }
.card-action {
  color: #00f2fe; font-family: 'JetBrains Mono', monospace;
  font-size: 0.92rem; font-weight: 600;
  display: flex; align-items: center; gap: 8px; transition: color 0.2s ease;
}
.card:hover .card-action, .card:focus-within .card-action { color: #38bdf8; }

footer[role="contentinfo"] {
  text-align: center; margin-top: 68px; padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8; font-size: 0.94rem;
}
footer[role="contentinfo"] a { color: #38bdf8; text-decoration: none; }
footer[role="contentinfo"] a:hover { text-decoration: underline; color: #00f2fe; }
