/* ==========================================================================
   AION 2 · Timers SA
   ========================================================================== */

:root {
  --bg: #05070e;
  --bg-2: #070c17;
  --panel: rgba(14, 22, 40, .72);
  --panel-2: rgba(8, 13, 24, .88);
  --line: rgba(150, 180, 235, .12);
  --line-strong: rgba(150, 180, 235, .22);
  --text: #e9effc;
  --muted: #9aa9c8;
  --dim: #6b7b9d;
  --cyan: #4be1ff;
  --cyan-2: #9af5ff;
  --gold: #ffc861;
  --gold-2: #ffe3a3;
  --violet: #a98bff;
  --violet-2: #d1c1ff;
  --red: #ff7a5f;
  --red-2: #ffb3a1;
  --pink: #ff85bd;
  --pink-2: #ffc2dd;
  --amber: #ffa95c;
  --amber-2: #ffd0a3;
  --blue: #74a9ff;
  --blue-2: #b7d1ff;
  --green: #6fe3a5;
  --green-2: #b6f5d2;
  --slate: #9fb0cf;
  --slate-2: #cfdaee;
  --radius: 20px;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --display: 'Cinzel', 'Times New Roman', serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --shadow: 0 24px 70px -34px rgba(0, 0, 0, .9);
}

/* --------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  background:
    radial-gradient(1200px 700px at 12% -10%, rgba(54, 160, 255, .10), transparent 60%),
    radial-gradient(900px 600px at 88% -5%, rgba(140, 100, 255, .10), transparent 60%),
    radial-gradient(1000px 800px at 50% 115%, rgba(255, 190, 90, .05), transparent 65%),
    linear-gradient(180deg, var(--bg), var(--bg-2) 45%, var(--bg));
  background-attachment: fixed;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: rgba(75, 225, 255, .3); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #060a13; }
::-webkit-scrollbar-thumb { background: #1b2944; border-radius: 99px; border: 2px solid #060a13; }
::-webkit-scrollbar-thumb:hover { background: #263a5f; }

.wrap { width: min(1180px, calc(100% - 44px)); margin-inline: auto; }

.skip-link {
  position: fixed; top: -100px; left: 16px; z-index: 200;
  padding: 10px 16px; border-radius: 10px;
  background: var(--cyan); color: #031018; font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* ---------------------------------------------------------- fondo vivo */
#stars {
  position: fixed; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  opacity: .5; pointer-events: none;
}
.aurora {
  position: fixed; inset: -25% -15% auto;
  height: 95vh; z-index: 0; pointer-events: none;
  filter: blur(90px); opacity: .45;
  background:
    radial-gradient(38% 42% at 18% 26%, rgba(34, 127, 255, .30), transparent 70%),
    radial-gradient(32% 36% at 82% 18%, rgba(139, 92, 255, .26), transparent 70%),
    radial-gradient(28% 30% at 58% 52%, rgba(0, 212, 255, .16), transparent 70%);
  animation: aurora-drift 38s ease-in-out infinite alternate;
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: 2;
  pointer-events: none; opacity: .028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes aurora-drift {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to   { transform: translate3d(3%, 2%, 0) scale(1.08); }
}

.site-header, main, .site-footer { position: relative; z-index: 1; }

/* --------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 8, 15, .76);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
}
.site-header::before {
  content: ""; position: absolute; inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(75, 225, 255, .55), rgba(169, 139, 255, .5), rgba(255, 200, 97, .4), transparent);
}
.header-inner {
  display: flex; align-items: center; gap: 26px;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark { width: 34px; height: 34px; flex-shrink: 0; filter: drop-shadow(0 0 10px rgba(120, 200, 255, .35)); }
.brand-mark svg { width: 100%; height: 100%; }
.brand-mark.small { width: 24px; height: 24px; color: var(--dim); filter: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text b {
  font-family: var(--display); font-weight: 700; font-size: 16px;
  letter-spacing: .14em; color: #f2f7ff;
}
.brand-text i {
  font-style: normal; font-size: 9px; font-weight: 600;
  letter-spacing: .34em; text-transform: uppercase; color: var(--dim);
  margin-top: 4px;
}
.brand-badge {
  margin-left: 2px; padding: 2px 7px; border-radius: 6px;
  font-size: 9.5px; font-weight: 700; letter-spacing: .14em;
  color: var(--gold); border: 1px solid rgba(255, 200, 97, .35);
  background: rgba(255, 200, 97, .08);
}
.main-nav { display: flex; gap: 26px; }
.main-nav a {
  position: relative; font-size: 13px; font-weight: 500; color: var(--muted);
  padding: 6px 0; transition: color .2s ease;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: linear-gradient(90deg, var(--cyan), var(--violet));
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.main-nav a:hover { color: #fff; }
.main-nav a:hover::after { transform: scaleX(1); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 15px; border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, .035);
  color: var(--text); font-size: 12.5px; font-weight: 600;
  cursor: pointer; transition: border-color .2s, background .2s, color .2s, transform .2s;
}
.btn svg { width: 16px; height: 16px; }
.btn:hover { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .28); }
.btn:active { transform: translateY(1px); }
.btn-notify { margin-left: auto; }
.btn-notify[aria-pressed="true"] {
  border-color: rgba(75, 225, 255, .5);
  background: rgba(75, 225, 255, .12);
  color: #dbfbff;
  box-shadow: 0 0 24px -8px rgba(75, 225, 255, .55);
}
.btn-notify[aria-pressed="true"]::after {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 8px var(--cyan);
}

/* ----------------------------------------------------------------- hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(300px, .78fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  padding: clamp(44px, 6.4vw, 84px) 0 30px;
}
.eyebrow {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  font-size: 10.5px; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--dim);
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 10px var(--green);
  animation: blink 2.6s ease-in-out infinite;
}
.hero h1 {
  margin-top: 18px;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.35rem, 5.2vw, 4rem);
  line-height: 1.05;
  letter-spacing: -.005em;
  text-wrap: balance;
}
.hero h1 .grad {
  background: linear-gradient(100deg, #9af5ff 5%, #a98bff 55%, #ffc861 105%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  filter: drop-shadow(0 6px 30px rgba(120, 160, 255, .18));
}
.lede {
  margin-top: 20px;
  max-width: 58ch;
  color: var(--muted);
  font-size: clamp(14.5px, 1.25vw, 16.5px);
  line-height: 1.7;
}
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .025);
  font-size: 11.5px; color: var(--muted);
}
.chip b { color: var(--text); font-weight: 600; }

.hero-side { display: flex; flex-direction: column; gap: 14px; }
.server-card {
  position: relative;
  padding: 22px 22px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(75, 225, 255, .10), transparent 55%),
    linear-gradient(170deg, rgba(20, 31, 55, .88), rgba(8, 13, 24, .92));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .06);
  overflow: hidden;
}
.server-card::after {
  content: ""; position: absolute; inset: auto -40% -70% auto;
  width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(169, 139, 255, .22), transparent 70%);
  filter: blur(30px); pointer-events: none;
}
.server-head {
  display: flex; align-items: center; gap: 8px;
  font-size: 10.5px; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted);
}
.live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 0 0 rgba(75, 225, 255, .5);
  animation: live 2.4s ease-out infinite;
}
.server-tz {
  margin-left: auto; padding: 2px 8px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--dim);
  font-size: 9.5px; letter-spacing: .08em;
}
.server-time {
  margin-top: 12px;
  font-family: var(--mono); font-size: clamp(2.4rem, 4.4vw, 3.1rem);
  font-weight: 600; letter-spacing: .01em; line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 32px rgba(75, 225, 255, .3);
}
.server-date {
  margin-top: 10px; font-size: 13px; color: var(--muted);
}
.server-local {
  margin-top: 16px; padding-top: 13px;
  border-top: 1px solid var(--line);
  font-size: 11.5px; color: var(--dim);
  display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap;
}
.server-local b {
  font-family: var(--mono); font-weight: 500; font-size: 14px;
  color: var(--text); font-variant-numeric: tabular-nums;
}
.tz-city { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }

.group-box {
  padding: 17px 18px 15px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(170deg, rgba(16, 24, 42, .7), rgba(8, 13, 24, .72));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}
.group-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.group-title {
  font-size: 10.5px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
}
.group-help {
  display: inline-flex; align-items: center; justify-content: center;
  width: 17px; height: 17px; border-radius: 50%;
  border: 1px solid var(--line-strong); color: var(--dim);
  font-size: 10px; font-weight: 700; cursor: help;
}
.segmented {
  display: flex; gap: 2px; margin-top: 11px; padding: 3px;
  border-radius: 999px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, .028);
}
.segmented button {
  flex: 1; padding: 7px 10px; border: 0; border-radius: 999px;
  background: transparent; color: var(--muted);
  font-size: 12px; font-weight: 600; cursor: pointer;
  transition: background .2s, color .2s, box-shadow .2s;
  white-space: nowrap;
}
.segmented button:hover { color: #fff; }
.segmented button[aria-pressed="true"] {
  background: rgba(255, 255, 255, .10);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 2px 10px -4px rgba(0, 0, 0, .8);
}
.segmented-sm { margin-top: 0; }
.hint { margin-top: 10px; font-size: 11.5px; color: var(--muted); line-height: 1.5; }
.hint b { color: var(--text); font-family: var(--mono); font-weight: 500; font-size: 12px; }
.hint.dim { color: var(--dim); margin-top: 3px; }

/* --------------------------------------------------------------- banner */
.banner-wrap { padding-top: 10px; }
.banner {
  --accent: var(--cyan); --accent-2: var(--cyan-2); --accent-soft: rgba(75, 225, 255, .12); --accent-line: rgba(75, 225, 255, .38);
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center; gap: 18px 24px;
  padding: 22px 26px;
  border-radius: 22px;
  border: 1px solid var(--accent-line);
  background:
    radial-gradient(80% 160% at 0% 50%, var(--accent-soft), transparent 60%),
    linear-gradient(120deg, rgba(16, 26, 46, .9), rgba(7, 12, 22, .92) 60%);
  box-shadow: 0 30px 80px -40px var(--accent), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.banner::after {
  content: ""; position: absolute; right: -80px; top: -90px;
  width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft), transparent 70%);
  filter: blur(20px); pointer-events: none;
}
.banner-icon {
  display: grid; place-items: center;
  width: 58px; height: 58px; border-radius: 16px;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  box-shadow: inset 0 0 24px -8px var(--accent);
}
.banner-icon svg { width: 30px; height: 30px; }
.banner-copy { min-width: 0; }
.banner-kicker {
  display: flex; align-items: center; gap: 8px;
  font-size: 10px; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--accent-2);
}
.banner-kicker .pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 10px var(--accent);
  animation: blink 1.8s ease-in-out infinite;
}
.banner-name {
  margin-top: 4px;
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.3rem, 2.2vw, 1.75rem); line-height: 1.15;
  color: #fff;
}
.banner-rule { margin-top: 3px; font-size: 12px; color: var(--muted); }
.banner-timer { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.banner-digits {
  font-family: var(--mono); font-weight: 600;
  font-size: clamp(2rem, 3.8vw, 2.85rem); line-height: 1;
  color: var(--accent-2);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 30px var(--accent-soft);
}
.banner-sub { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.banner-bar {
  position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: rgba(255, 255, 255, .07);
}
.banner-bar i {
  display: block; height: 100%; width: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform-origin: left; transform: scaleX(0);
  transition: transform .45s linear;
  box-shadow: 0 0 18px var(--accent);
}

/* --------------------------------------------------------------- seccion */
.section { padding-top: clamp(48px, 6vw, 74px); scroll-margin-top: 88px; }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 18px; flex-wrap: wrap; margin-bottom: 22px;
}
.section-head .eyebrow { margin-bottom: 7px; }
.section-head h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.45rem, 2.6vw, 1.95rem);
  letter-spacing: .01em;
}
.section-tools { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.section-note { font-size: 12px; color: var(--dim); }
.noscript { padding: 16px; border: 1px solid var(--line); border-radius: 14px; color: var(--muted); }

/* --------------------------------------------------------------- tarjetas */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 15px;
}
.card {
  --accent: var(--cyan); --accent-2: var(--cyan-2); --accent-soft: rgba(75, 225, 255, .12); --accent-line: rgba(75, 225, 255, .38);
  position: relative; display: flex; flex-direction: column;
  padding: 19px 19px 17px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 90% at 100% 0%, var(--accent-soft), transparent 55%),
    linear-gradient(170deg, rgba(17, 26, 45, .82), rgba(8, 13, 24, .9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045), 0 18px 50px -40px #000;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-line), transparent);
  opacity: .7;
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 26px 60px -40px #000;
}
.card.is-active {
  border-color: var(--accent-line);
  box-shadow: 0 26px 70px -46px var(--accent), inset 0 1px 0 rgba(255, 255, 255, .08);
}
.card.is-active::before { opacity: 1; }

.card-head { display: flex; align-items: flex-start; gap: 12px; }
.card-icon {
  display: grid; place-items: center; flex-shrink: 0;
  width: 40px; height: 40px; border-radius: 12px;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
}
.card-icon svg { width: 21px; height: 21px; }
.card-titles { min-width: 0; flex: 1; padding-top: 1px; }
.card-titles h3 {
  font-size: 15px; font-weight: 600; line-height: 1.25;
  letter-spacing: -.005em; color: #f4f8ff;
}
.card-rule { margin-top: 3px; font-size: 11px; color: var(--dim); line-height: 1.4; }
.card-tag {
  flex-shrink: 0; margin-top: 2px; padding: 2.5px 8px; border-radius: 999px;
  border: 1px solid var(--accent-line);
  background: var(--accent-soft);
  color: var(--accent-2);
  font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}

.card-timer { margin-top: 16px; }
.card-state {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 9.5px; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--dim);
}
.state-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--dim); }
.card.is-active .card-state { color: var(--accent-2); }
.card.is-active .state-dot {
  background: var(--accent); box-shadow: 0 0 8px var(--accent);
  animation: blink 1.6s ease-in-out infinite;
}
.card-digits {
  display: block; margin-top: 4px;
  font-family: var(--mono); font-weight: 600;
  font-size: clamp(1.65rem, 2.6vw, 2rem); line-height: 1.15;
  letter-spacing: -.01em; color: #fff;
  font-variant-numeric: tabular-nums;
}
.card.is-active .card-digits { color: var(--accent-2); text-shadow: 0 0 26px var(--accent-soft); }
.card-bar {
  margin-top: 10px; height: 4px; border-radius: 99px;
  background: rgba(255, 255, 255, .08); overflow: hidden;
}
.card-bar i {
  display: block; height: 100%; width: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform-origin: left; transform: scaleX(0);
  transition: transform .45s linear;
}
.card-next { margin-top: 9px; font-size: 11.5px; color: var(--muted); line-height: 1.45; }
.card.is-active .card-next { color: var(--accent-2); }

.card-desc {
  margin-top: 12px; padding-top: 12px;
  border-top: 1px solid rgba(150, 180, 235, .08);
  font-size: 12.5px; color: var(--muted); line-height: 1.55;
}
.card-note {
  margin-top: 9px; font-size: 11px; color: var(--dim);
  display: flex; gap: 6px; align-items: baseline;
}
.card-note::before {
  content: ""; width: 3px; height: 3px; border-radius: 50%;
  background: var(--accent); opacity: .8; flex-shrink: 0;
  transform: translateY(-2px);
}

/* --------------------------------------------------------------- próximos */
.upcoming {
  list-style: none; margin: 0; padding: 6px;
  border: 1px solid var(--line); border-radius: 20px;
  background: linear-gradient(180deg, rgba(13, 21, 38, .7), rgba(8, 13, 24, .6));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}
.up-row {
  --accent: var(--cyan);
  display: grid; grid-template-columns: 86px minmax(0, 1fr) auto;
  align-items: center; gap: 14px;
  padding: 11px 14px; border-radius: 14px;
  transition: background .2s ease;
}
.up-row + .up-row { box-shadow: inset 0 1px 0 rgba(150, 180, 235, .07); }
.up-row:hover { background: rgba(255, 255, 255, .028); }
.up-time { display: flex; flex-direction: column; line-height: 1.1; }
.up-time b {
  font-family: var(--mono); font-weight: 600; font-size: 15px;
  color: #fff; font-variant-numeric: tabular-nums;
}
.up-time i {
  margin-top: 3px; font-style: normal;
  font-size: 9px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--dim);
}
.up-name {
  display: flex; align-items: center; gap: 10px;
  min-width: 0; font-size: 13.5px; font-weight: 500;
  color: var(--text);
}
.up-name::before {
  content: ""; flex-shrink: 0; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 9px var(--accent);
}
.up-rel {
  font-family: var(--mono); font-size: 11px; color: var(--dim);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}

/* ---------------------------------------------------------------- agenda */
.agenda-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
  gap: 14px;
}
.ag-card {
  padding: 18px;
  border: 1px solid var(--line); border-radius: 18px;
  background: linear-gradient(170deg, rgba(16, 25, 43, .6), rgba(8, 13, 24, .55));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}
.ag-days {
  font-size: 10px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold);
}
.ag-list { list-style: none; margin: 13px 0 0; padding: 0; display: grid; gap: 9px; }
.ag-list li {
  display: grid; grid-template-columns: 66px minmax(0, 1fr); gap: 10px;
  align-items: baseline; font-size: 12.5px; color: var(--muted);
}
.ag-list b {
  font-family: var(--mono); font-weight: 500; font-size: 12px;
  color: #fff; font-variant-numeric: tabular-nums;
}
.ag-foot { margin-top: 12px; font-size: 10.5px; color: var(--dim); line-height: 1.5; }

/* -------------------------------------------------------------------- faq */
.faq { display: grid; gap: 10px; max-width: 920px; }
.faq details {
  border: 1px solid var(--line); border-radius: 15px;
  background: linear-gradient(170deg, rgba(14, 22, 40, .5), rgba(8, 13, 24, .45));
  padding: 0 18px;
  transition: border-color .2s, background .2s;
}
.faq details[open] { border-color: var(--line-strong); background: rgba(14, 22, 40, .7); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 15px 0;
  font-size: 13.5px; font-weight: 600; color: #f1f6ff;
  cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-family: var(--mono); font-size: 17px;
  color: var(--cyan); transition: transform .25s ease; line-height: 1;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  padding: 0 0 16px; font-size: 13px; color: var(--muted); line-height: 1.7;
}
.faq details p b { color: var(--text); font-weight: 600; }
.faq a { color: var(--cyan); border-bottom: 1px solid rgba(75, 225, 255, .3); }
.faq a:hover { border-bottom-color: var(--cyan); }

/* ----------------------------------------------------------------- footer */
.site-footer {
  margin-top: clamp(60px, 8vw, 96px);
  border-top: 1px solid var(--line);
  padding: 30px 0 46px;
  color: var(--dim); font-size: 11.5px;
}
.footer-inner {
  display: flex; flex-wrap: wrap; gap: 18px 40px;
  justify-content: space-between; align-items: flex-start;
}
.footer-brand { display: flex; gap: 12px; align-items: flex-start; max-width: 460px; }
.footer-brand b { color: var(--muted); font-weight: 600; }
.footer-brand p { line-height: 1.6; }
.footer-note { text-align: right; line-height: 1.7; }
.site-footer a {
  color: var(--muted);
  border-bottom: 1px solid rgba(150, 180, 235, .2);
  transition: color .2s, border-color .2s;
}
.site-footer a:hover { color: var(--text); border-bottom-color: var(--cyan); }

/* ---------------------------------------------------------------- toasts */
.toasts {
  position: fixed; right: 18px; bottom: 18px; z-index: 120;
  display: flex; flex-direction: column; gap: 9px;
  width: min(360px, calc(100vw - 36px));
  pointer-events: none;
}
.toast {
  --accent: var(--cyan);
  display: flex; gap: 10px; align-items: flex-start;
  padding: 12px 14px;
  border-radius: 13px;
  border: 1px solid var(--accent-line, rgba(150, 180, 235, .2));
  border-left: 3px solid var(--accent);
  background: rgba(10, 16, 29, .96);
  box-shadow: 0 20px 50px -18px #000;
  animation: toast-in .35s cubic-bezier(.22, 1, .36, 1) both;
}
.toast p { margin: 0; font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.toast p b { color: #fff; font-weight: 600; }
.toast-dot {
  width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;
  margin-top: 5px; background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}
.toast.out { animation: toast-out .4s ease forwards; }

/* ------------------------------------------------------ reinicio semanal */
@media (min-width: 1024px) {
  .card[data-event="reset-weekly"] {
    grid-column: span 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "head timer" "desc timer" "note timer";
    column-gap: 32px;
    align-content: center;
  }
  .card[data-event="reset-weekly"] .card-head { grid-area: head; }
  .card[data-event="reset-weekly"] .card-timer {
    grid-area: timer; align-self: center; text-align: right; margin-top: 0;
  }
  .card[data-event="reset-weekly"] .card-bar { width: 190px; margin-left: auto; }
  .card[data-event="reset-weekly"] .card-desc { grid-area: desc; }
  .card[data-event="reset-weekly"] .card-note { grid-area: note; }
}

/* --------------------------------------------------------------- acentos */
[data-accent="cyan"]   { --accent: var(--cyan);   --accent-2: var(--cyan-2);   --accent-soft: rgba(75, 225, 255, .12); --accent-line: rgba(75, 225, 255, .38); }
[data-accent="gold"]   { --accent: var(--gold);   --accent-2: var(--gold-2);   --accent-soft: rgba(255, 200, 97, .12);  --accent-line: rgba(255, 200, 97, .38); }
[data-accent="violet"] { --accent: var(--violet); --accent-2: var(--violet-2); --accent-soft: rgba(169, 139, 255, .14); --accent-line: rgba(169, 139, 255, .4); }
[data-accent="red"]    { --accent: var(--red);    --accent-2: var(--red-2);    --accent-soft: rgba(255, 122, 95, .12);  --accent-line: rgba(255, 122, 95, .38); }
[data-accent="pink"]   { --accent: var(--pink);   --accent-2: var(--pink-2);   --accent-soft: rgba(255, 133, 189, .12); --accent-line: rgba(255, 133, 189, .38); }
[data-accent="amber"]  { --accent: var(--amber);  --accent-2: var(--amber-2);  --accent-soft: rgba(255, 169, 92, .12);  --accent-line: rgba(255, 169, 92, .38); }
[data-accent="blue"]   { --accent: var(--blue);   --accent-2: var(--blue-2);   --accent-soft: rgba(116, 169, 255, .12); --accent-line: rgba(116, 169, 255, .38); }
[data-accent="green"]  { --accent: var(--green);  --accent-2: var(--green-2);  --accent-soft: rgba(111, 227, 165, .12); --accent-line: rgba(111, 227, 165, .38); }
[data-accent="slate"]  { --accent: var(--slate);  --accent-2: var(--slate-2);  --accent-soft: rgba(159, 176, 207, .10); --accent-line: rgba(159, 176, 207, .3); }

/* ------------------------------------------------------------ animaciones */
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes live {
  0% { box-shadow: 0 0 0 0 rgba(75, 225, 255, .55); }
  70% { box-shadow: 0 0 0 7px rgba(75, 225, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(75, 225, 255, 0); }
}
@keyframes toast-in {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to { opacity: 1; transform: none; }
}
@keyframes toast-out {
  to { opacity: 0; transform: translateY(6px) scale(.98); }
}

/* ------------------------------------------------------------ responsive */
@media (max-width: 1020px) {
  .hero { grid-template-columns: 1fr; gap: 30px; }
  .hero-side { flex-direction: row; flex-wrap: wrap; }
  .server-card { flex: 1 1 320px; }
  .group-box { flex: 1 1 320px; }
}
@media (max-width: 860px) {
  .main-nav { display: none; }
  .header-inner { height: 62px; }
  .banner { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "icon copy" "time time"; }
  .banner-icon { grid-area: icon; }
  .banner-copy { grid-area: copy; }
  .banner-timer { grid-area: time; align-items: flex-start; flex-direction: row; align-items: baseline; gap: 12px; }
  .banner { padding: 20px; }
  .section-head { align-items: flex-start; }
  .footer-note { text-align: left; }
}
@media (max-width: 620px) {
  .wrap { width: calc(100% - 32px); }
  .brand-badge { display: none; }
  .hero { padding-top: 36px; }
  .hero-side { flex-direction: column; }
  .server-card, .group-box { flex: 0 0 auto; }
  .hero h1 { font-size: clamp(2rem, 9vw, 2.7rem); }
  .lede { font-size: 14px; }
  .section { padding-top: 46px; }
  .section-head { gap: 12px; }
  .section-tools { width: 100%; justify-content: space-between; }
  .grid { grid-template-columns: 1fr; }
  .up-row { grid-template-columns: 72px minmax(0, 1fr) auto; gap: 10px; padding: 11px 10px; }
  .up-name { font-size: 12.5px; }
  .up-rel { font-size: 10px; }
  .up-time b { font-size: 14px; }
  .agenda-grid { grid-template-columns: 1fr 1fr; }
  .faq details { padding: 0 14px; }
  .footer-inner { flex-direction: column; }
  .btn-notify .btn-label { display: none; }
  .btn-notify { padding: 9px 11px; }
  .banner-icon { width: 46px; height: 46px; border-radius: 13px; }
  .banner-icon svg { width: 24px; height: 24px; }
  .banner-timer { flex-direction: column; align-items: flex-start; gap: 3px; }
  .banner-digits { font-size: 1.9rem; }
  .server-time { font-size: 2.6rem; }
  .toasts { left: 16px; right: 16px; width: auto; }
}
@media (max-width: 420px) {
  .agenda-grid { grid-template-columns: 1fr; }
  .hero-chips { gap: 6px; }
  .chip { font-size: 10.5px; padding: 5px 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
