/* ============================================================
   agenda.css — Agenda Rinsa · v4.5
   agenda.rinsainc.com · Mayo 2026

   Identidad "Solar Bright" — colores primarios vivos (amarillo solar
   + coral + negro azulado + blanco puro). Distinta de la familia
   marrón/dorado anterior. Interior limpio con accents vivos.
   Metáfora visual: sistema orbital en el hero (sol amarillo central).
   ============================================================ */

/* ── Variables · Paleta "Solar Bright" ────────────────────── */
:root {
  /* Night — base oscura azul-negra (NO marrón) — solo nav/hero/footer */
  --ag-night:          #0A0A12;
  --ag-night-deep:     #050508;
  --ag-night-surface:  #13131F;

  /* Sun — amarillo solar vivo (accent principal) */
  --ag-sun:            #FBBF24;
  --ag-sun-bright:     #FCD34D;
  --ag-sun-deep:       #B45309;
  --ag-sun-soft:       rgba(251,191,36,0.14);

  /* Coral — rosa-coral primario vivo (color cálido cercano) */
  --ag-coral:          #FB7185;
  --ag-coral-bright:   #FDA4AF;
  --ag-coral-deep:     #BE123C;
  --ag-coral-soft:     rgba(251,113,133,0.12);

  /* Fondos interior · LIMPIOS sin tinte beige */
  --ag-paper:          #FFFFFF;     /* blanco puro */
  --ag-cream:          #F8FAFC;     /* gray-50 limpio */
  --ag-ivory:          #F1F5F9;     /* gray-100 limpio */
  --ag-ivory-soft:     #E2E8F0;     /* gray-200 */

  /* Grises */
  --ag-gray-50:        #FAFAFA;
  --ag-gray-100:       #F4F4F5;
  --ag-gray-200:       #E4E4E7;
  --ag-gray-300:       #D4D4D8;
  --ag-gray-400:       #9CA3AF;
  --ag-gray-500:       #6B7280;
  --ag-gray-600:       #4B5563;
  --ag-gray-700:       #374151;
  --ag-dark:           #0E0E18;

  /* Sistema */
  --ag-font-heading:   'Plus Jakarta Sans', 'Inter', sans-serif;
  --ag-font-body:      'Inter', sans-serif;
  --ag-max-width:      1240px;
  --ag-radius-sm:      6px;
  --ag-radius-md:      10px;
  --ag-radius-lg:      18px;
  --ag-radius-full:    99px;
  --ag-shadow-xs:      0 1px 2px rgba(10,10,20,0.04);
  --ag-shadow-sm:      0 2px 8px rgba(10,10,20,0.06);
  --ag-shadow-md:      0 6px 22px rgba(10,10,20,0.08);
  --ag-shadow-lg:      0 18px 48px rgba(10,10,20,0.12);
  --ag-shadow-sun:     0 8px 32px rgba(251,191,36,0.32);
  --ag-shadow-coral:   0 8px 32px rgba(251,113,133,0.28);

  /* Colores de los tipos de evento (sin cambios — son las identidades de cada web) */
  --ag-tipo-weekend:    #1A3A6B;
  --ag-tipo-weekend-2:  #2451A0;
  --ag-tipo-masterclass:#8B1A2A;
  --ag-tipo-masterclass-2: #B0223A;
  --ag-tipo-summit:     #1A4A2E;
  --ag-tipo-summit-2:   #2D7A4F;
}

[hidden] { display: none !important; }

/* ── Reset base ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: var(--ag-font-body);
  color: var(--ag-dark);
  background: var(--ag-paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: var(--ag-max-width); margin: 0 auto; padding: 0 28px; }


/* ── Botones ─────────────────────────────────────────────────── */
.ag-btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 24px;
  border-radius: var(--ag-radius-md);
  font-family: var(--ag-font-heading);
  font-size: 14px; font-weight: 700;
  letter-spacing: 0.01em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 200ms, color 200ms, border-color 200ms,
              transform 200ms, box-shadow 200ms;
  text-decoration: none; white-space: nowrap;
}
.ag-btn--sun {
  background: var(--ag-sun); color: var(--ag-night);
  border-color: var(--ag-sun);
  box-shadow: var(--ag-shadow-sun);
}
.ag-btn--sun:hover {
  background: var(--ag-sun-bright);
  border-color: var(--ag-sun-bright);
  transform: translateY(-1px);
  box-shadow: 0 12px 36px rgba(251,191,36,0.44);
}
.ag-btn--ghost-light {
  background: transparent; color: white;
  border-color: rgba(255,255,255,0.30);
}
.ag-btn--ghost-light:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.55);
}
.ag-btn--outline-sun {
  background: transparent; color: var(--ag-sun-deep);
  border-color: rgba(180,83,9,0.40);
}
.ag-btn--outline-sun:hover {
  background: var(--ag-sun-soft);
  border-color: var(--ag-sun);
  color: var(--ag-night);
}
.ag-btn--lg { padding: 14px 28px; font-size: 15px; }
.ag-btn--sm { padding: 9px 18px; font-size: 13px; }


/* ── Navbar ──────────────────────────────────────────────────── */
.ag-nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--ag-night);
  border-bottom: 1px solid rgba(251,191,36,0.12);
  color: white;
  height: 68px;
  display: flex; align-items: center;
}
.ag-nav__inner {
  max-width: var(--ag-max-width);
  margin: 0 auto; padding: 0 28px; width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.ag-nav__brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.ag-nav__brand-mark {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--ag-sun) 0%, var(--ag-sun-deep) 100%);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(251,191,36,0.32);
  flex-shrink: 0;
}
.ag-nav__brand-mark svg { color: var(--ag-night); }
.ag-nav__brand-text { display: flex; flex-direction: column; }
.ag-nav__brand-title {
  font-family: var(--ag-font-heading);
  font-size: 13.5px; font-weight: 800; color: white;
  line-height: 1.1;
  display: flex; align-items: center; gap: 8px;
  letter-spacing: 0.005em;
}
.ag-nav__brand-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ag-sun-bright);
  box-shadow: 0 0 10px var(--ag-sun-bright);
  animation: ag-blink 2s ease-in-out infinite;
  flex-shrink: 0;
}
.ag-nav__brand-sub {
  font-size: 10.5px; color: rgba(255,255,255,0.55);
  font-weight: 500; line-height: 1;
  margin-top: 3px; letter-spacing: 0.02em;
}
.ag-nav__links { display: flex; align-items: center; gap: 32px; }
.ag-nav__link {
  font-size: 13px; font-weight: 500;
  color: rgba(255,255,255,0.68);
  transition: color 0.18s;
  text-decoration: none;
  letter-spacing: 0.005em;
}
.ag-nav__link:hover { color: var(--ag-sun-bright); }
.ag-nav__cta {
  font-size: 13px; font-weight: 700;
  color: var(--ag-night); background: var(--ag-sun);
  padding: 8px 16px; border-radius: var(--ag-radius-md);
  transition: background 0.18s, transform 0.18s;
}
.ag-nav__cta:hover { background: var(--ag-sun-bright); transform: translateY(-1px); }
.ag-nav__toggle {
  display: none; background: none; border: none;
  color: white; padding: 6px; align-items: center;
}

/* Drawer móvil */
.ag-drawer { position: fixed; inset: 0; z-index: 200; pointer-events: none; }
.ag-drawer__overlay {
  position: absolute; inset: 0;
  background: rgba(5,5,8,0.70);
  opacity: 0; transition: opacity 0.25s;
}
.ag-drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 340px; max-width: 88vw;
  background: var(--ag-night); color: white;
  padding: 28px;
  transform: translateX(100%); transition: transform 0.32s cubic-bezier(.4,.0,.2,1);
  display: flex; flex-direction: column;
  border-left: 1px solid rgba(251,191,36,0.18);
}
.ag-drawer.open { pointer-events: all; }
.ag-drawer.open .ag-drawer__overlay { opacity: 1; }
.ag-drawer.open .ag-drawer__panel { transform: translateX(0); }
.ag-drawer__close {
  background: none; border: none;
  color: rgba(255,255,255,0.60);
  padding: 4px; margin-bottom: 18px; align-self: flex-end;
}
.ag-drawer__link {
  padding: 14px 8px; font-size: 15px;
  color: rgba(255,255,255,0.78);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: block;
}
.ag-drawer__link:hover { color: var(--ag-sun-bright); }


/* ── HERO con sistema orbital · sol amarillo central ─────────── */
.ag-hero {
  background: var(--ag-night-deep);
  padding: 120px 0 100px;
  color: white;
  position: relative;
  overflow: hidden;
}
.ag-hero__bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.ag-hero__mesh {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 30%, rgba(251,113,133,0.20) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 70%, rgba(251,191,36,0.16) 0%, transparent 55%),
    radial-gradient(ellipse 70% 80% at 50% 110%, rgba(10,10,18,0.95) 0%, transparent 60%);
  animation: ag-mesh 16s ease-in-out infinite alternate;
}
@keyframes ag-mesh {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-2%, 1%) scale(1.05); }
}
.ag-hero__dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(251,191,36,0.08) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse 85% 65% at 50% 50%, black 35%, transparent 80%);
}
.ag-hero__orb { position: absolute; border-radius: 50%; filter: blur(50px); }
.ag-hero__orb--1 {
  width: 420px; height: 420px;
  top: -8%; left: -6%;
  background: radial-gradient(circle, rgba(251,113,133,0.45) 0%, transparent 70%);
  animation: ag-orb 24s ease-in-out infinite;
}
.ag-hero__orb--2 {
  width: 320px; height: 320px;
  bottom: -10%; right: -8%;
  background: radial-gradient(circle, rgba(251,191,36,0.30) 0%, transparent 70%);
  animation: ag-orb 18s ease-in-out infinite reverse;
}
.ag-hero__orb--3 {
  width: 240px; height: 240px;
  top: 35%; right: 30%;
  background: radial-gradient(circle, rgba(252,211,77,0.18) 0%, transparent 70%);
  animation: ag-orb 28s ease-in-out infinite 4s;
}
@keyframes ag-orb {
  0%, 100% { transform: translate(0, 0); }
  33%      { transform: translate(32px, -22px); }
  66%      { transform: translate(-22px, 24px); }
}

.ag-hero__layout {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 40px; align-items: center;
}

.ag-hero__content { max-width: 660px; }

.ag-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px;
  background: var(--ag-sun-soft);
  border: 1px solid rgba(251,191,36,0.36);
  border-radius: 99px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ag-sun-bright);
  margin-bottom: 24px;
  animation: ag-fade-up 0.6s ease-out;
}
.ag-hero__eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ag-sun-bright);
  box-shadow: 0 0 10px var(--ag-sun-bright);
  animation: ag-blink 2s ease-in-out infinite;
}
@keyframes ag-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.ag-hero__title {
  font-family: var(--ag-font-heading);
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  font-weight: 800;
  color: white;
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
  animation: ag-fade-up 0.7s 0.1s ease-out both;
}
.ag-hero__title-accent {
  background: linear-gradient(135deg, var(--ag-sun) 0%, var(--ag-sun-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
  font-weight: 700;
}

.ag-hero__sub {
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  color: rgba(255,255,255,0.78);
  line-height: 1.7; margin-bottom: 36px;
  max-width: 580px;
  animation: ag-fade-up 0.7s 0.2s ease-out both;
}

.ag-hero__stats {
  display: flex; gap: 40px; flex-wrap: wrap;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 36px;
  animation: ag-fade-up 0.7s 0.3s ease-out both;
}
.ag-hero__stat { display: flex; flex-direction: column; gap: 6px; }
.ag-hero__stat-val {
  font-family: var(--ag-font-heading);
  font-size: 2.2rem; font-weight: 800;
  color: var(--ag-sun-bright);
  line-height: 1; letter-spacing: -0.02em;
}
.ag-hero__stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ag-hero__ctas {
  display: flex; gap: 14px; flex-wrap: wrap;
  animation: ag-fade-up 0.7s 0.4s ease-out both;
}

@keyframes ag-fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Sistema Orbital */
.ag-hero__orbital {
  position: relative;
  width: 520px; height: 520px;
  margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  animation: ag-fade-up 0.9s 0.3s ease-out both;
}
.ag-hero__orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(251,191,36,0.16);
}
.ag-hero__orbit--1 {
  width: 520px; height: 520px;
  animation: ag-orbit 40s linear infinite;
}
.ag-hero__orbit--1::before {
  content: ''; position: absolute;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--ag-sun-bright);
  box-shadow: 0 0 14px var(--ag-sun-bright), 0 0 28px rgba(252,211,77,0.55);
  top: -5px; left: 50%; transform: translateX(-50%);
}
.ag-hero__orbit--1::after {
  content: 'WEEKENDS';
  position: absolute;
  top: 14px; left: 50%; transform: translateX(-50%);
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.50);
}
.ag-hero__orbit--2 {
  width: 380px; height: 380px;
  border-color: rgba(251,113,133,0.24);
  animation: ag-orbit 28s linear infinite reverse;
}
.ag-hero__orbit--2::before {
  content: ''; position: absolute;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ag-coral);
  box-shadow: 0 0 12px var(--ag-coral), 0 0 24px rgba(251,113,133,0.55);
  bottom: -4px; left: 50%; transform: translateX(-50%);
}
.ag-hero__orbit--2::after {
  content: 'MASTERCLASS';
  position: absolute;
  bottom: 14px; left: 50%; transform: translateX(-50%);
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.50);
}
.ag-hero__orbit--3 {
  width: 240px; height: 240px;
  border-color: rgba(255,255,255,0.16);
  animation: ag-orbit 20s linear infinite;
}
.ag-hero__orbit--3::before {
  content: ''; position: absolute;
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.94);
  box-shadow: 0 0 10px rgba(255,255,255,0.70);
  top: 50%; right: -3px; transform: translateY(-50%);
}
.ag-hero__orbit--3::after {
  content: 'SUMMITS';
  position: absolute;
  top: 50%; right: 14px; transform: translateY(-50%);
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.50);
}
@keyframes ag-orbit { from { transform: rotate(0); } to { transform: rotate(360deg); } }

/* Medallón SOL central */
.ag-hero__medallion {
  position: relative;
  width: 132px; height: 132px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ag-sun-bright) 0%, var(--ag-sun) 50%, var(--ag-sun-deep) 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--ag-night);
  box-shadow:
    0 12px 48px rgba(251,191,36,0.55),
    inset 0 -3px 12px rgba(0,0,0,0.18),
    inset 0 2px 4px rgba(255,255,255,0.30);
  animation: ag-pulse 4.5s ease-in-out infinite;
  z-index: 2;
}
.ag-hero__medallion svg { width: 56px; height: 56px; }
@keyframes ag-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 12px 48px rgba(251,191,36,0.55), inset 0 -3px 12px rgba(0,0,0,0.18), inset 0 2px 4px rgba(255,255,255,0.30); }
  50%      { transform: scale(1.04); box-shadow: 0 18px 60px rgba(251,191,36,0.75), inset 0 -3px 12px rgba(0,0,0,0.18), inset 0 2px 4px rgba(255,255,255,0.30); }
}
.ag-hero__medallion-ring {
  position: absolute;
  width: 160px; height: 160px;
  border-radius: 50%;
  border: 2px solid var(--ag-sun-bright);
  opacity: 0;
  animation: ag-ring 3s ease-out infinite;
  z-index: 1;
}
@keyframes ag-ring {
  0%   { transform: scale(0.85); opacity: 0.7; }
  100% { transform: scale(1.30); opacity: 0; }
}


/* ── Sección base · Interior limpio ──────────────────────── */
.ag-section { padding: 88px 0; position: relative; }
.ag-section--ivory { background: var(--ag-ivory); }
.ag-section--cream { background: var(--ag-cream); }
.ag-section--paper { background: var(--ag-paper); }

.ag-section__head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.ag-section__eyebrow {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ag-sun-deep);
  margin-bottom: 14px;
  display: inline-flex; align-items: center; gap: 10px;
}
.ag-section__eyebrow::before,
.ag-section__eyebrow::after {
  content: ''; width: 20px; height: 1px;
  background: var(--ag-sun-deep);
  opacity: 0.55;
}
.ag-section__title {
  font-family: var(--ag-font-heading);
  font-size: clamp(1.85rem, 3.6vw, 2.5rem);
  font-weight: 800;
  color: var(--ag-dark);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}
.ag-section__title-accent {
  font-style: italic;
  background: linear-gradient(135deg, var(--ag-sun-deep) 0%, var(--ag-sun) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ag-section__sub {
  font-size: 15.5px;
  color: var(--ag-gray-500);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}


/* ── Tipos de evento · Identidad cromática por tipo ──────── */
.ag-types {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
}
.ag-type {
  --type-color:      var(--ag-sun-deep);
  --type-color-2:    var(--ag-sun);
  --type-color-soft: var(--ag-sun-soft);
  --type-color-rgb:  180,83,9;

  position: relative;
  background: white;
  padding: 32px 28px 30px;
  border-radius: var(--ag-radius-lg);
  border: 1px solid var(--ag-gray-200);
  transition: transform 280ms cubic-bezier(.4,.2,.2,1),
              box-shadow 280ms,
              border-color 280ms;
  display: flex; flex-direction: column;
  gap: 14px;
  overflow: hidden;
}
/* Top accent bar (3px del color del tipo) */
.ag-type::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--type-color) 0%, var(--type-color-2) 100%);
  opacity: 0.92;
  z-index: 2;
}
/* Top wash sutil del color del tipo · da identidad cromática al primer vistazo */
.ag-type::after {
  content: '';
  position: absolute;
  top: 3px; left: 0; right: 0; height: 160px;
  background: linear-gradient(180deg, rgba(var(--type-color-rgb), 0.09) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}
.ag-type > * { position: relative; z-index: 1; }
.ag-type:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 48px rgba(var(--type-color-rgb), 0.18);
  border-color: rgba(var(--type-color-rgb), 0.42);
}

.ag-type--weekend {
  --type-color:      var(--ag-tipo-weekend);
  --type-color-2:    var(--ag-tipo-weekend-2);
  --type-color-soft: rgba(26,58,107,0.10);
  --type-color-rgb:  26,58,107;
}
.ag-type--masterclass {
  --type-color:      var(--ag-tipo-masterclass);
  --type-color-2:    var(--ag-tipo-masterclass-2);
  --type-color-soft: rgba(139,26,42,0.10);
  --type-color-rgb:  139,26,42;
}
.ag-type--summit {
  --type-color:      var(--ag-tipo-summit);
  --type-color-2:    var(--ag-tipo-summit-2);
  --type-color-soft: rgba(26,74,46,0.10);
  --type-color-rgb:  26,74,46;
}

.ag-type__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(var(--type-color-rgb), 0.14);
  color: var(--type-color);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 4px;
  box-shadow: 0 4px 16px rgba(var(--type-color-rgb), 0.10);
}
.ag-type__icon svg { width: 26px; height: 26px; stroke-width: 1.8; }
.ag-type__name {
  font-family: var(--ag-font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ag-dark);
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.ag-type__cadence {
  font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--type-color);
  margin-top: -8px;
}
.ag-type__desc {
  font-size: 14px;
  color: var(--ag-gray-600);
  line-height: 1.65;
  flex: 1;
}
.ag-type__tags {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.ag-type__tag {
  font-size: 11px; font-weight: 600;
  padding: 5px 10px;
  background: var(--ag-gray-50);
  color: var(--ag-gray-700);
  border: 1px solid var(--ag-gray-200);
  border-radius: 99px;
  letter-spacing: 0.02em;
}
.ag-type__link {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  font-family: var(--ag-font-heading);
  font-size: 13.5px; font-weight: 700;
  color: var(--type-color);
  background: transparent;
  border: 1.5px solid rgba(var(--type-color-rgb), 0.35);
  padding: 11px 18px;
  border-radius: var(--ag-radius-md);
  margin-top: 8px;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.ag-type__link:hover {
  background: var(--type-color);
  color: white;
  border-color: var(--type-color);
  transform: translateY(-1px);
}
.ag-type__link svg { transition: transform 0.2s; }
.ag-type__link:hover svg { transform: translateX(3px); }


/* ── Próximos eventos · Cards marketplace claras ─────────── */
.ag-events {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 24px;
}
.ag-event {
  position: relative;
  background: white;
  border-radius: var(--ag-radius-lg);
  border: 1px solid var(--ag-gray-200);
  overflow: hidden;
  box-shadow: var(--ag-shadow-xs);
  transition: transform 280ms cubic-bezier(.4,.2,.2,1),
              box-shadow 280ms,
              border-color 280ms;
  display: flex; flex-direction: column;
}
.ag-event:hover {
  transform: translateY(-4px);
  box-shadow: var(--ag-shadow-lg);
  border-color: rgba(251,191,36,0.42);
}

.ag-event__thumb {
  position: relative;
  height: 140px;
  overflow: hidden;
}
.ag-event__thumb--weekend {
  background: linear-gradient(135deg, var(--ag-tipo-weekend) 0%, var(--ag-tipo-weekend-2) 100%);
}
.ag-event__thumb--masterclass {
  background: linear-gradient(135deg, var(--ag-tipo-masterclass) 0%, var(--ag-tipo-masterclass-2) 100%);
}
.ag-event__thumb--summit {
  background: linear-gradient(135deg, var(--ag-tipo-summit) 0%, var(--ag-tipo-summit-2) 100%);
}
.ag-event__thumb::before {
  content: ''; position: absolute;
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.18) 0%, transparent 70%);
  top: -80px; right: -60px;
}
.ag-event__thumb::after {
  content: ''; position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 80%);
}

.ag-event__badge {
  position: absolute; top: 14px; left: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 800;
  letter-spacing: 0.10em; text-transform: uppercase;
  background: rgba(0,0,0,0.32);
  color: var(--ag-sun-bright);
  padding: 5px 11px; border-radius: var(--ag-radius-full);
  backdrop-filter: blur(8px);
  z-index: 2;
}
.ag-event__badge::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--ag-sun-bright);
  box-shadow: 0 0 6px var(--ag-sun-bright);
}
.ag-event__date-pill {
  position: absolute; bottom: 14px; left: 14px;
  display: flex; align-items: baseline; gap: 8px;
  z-index: 2;
}
.ag-event__date-num {
  font-family: var(--ag-font-heading);
  font-size: 2.2rem; font-weight: 800;
  color: white;
  line-height: 0.9;
  letter-spacing: -0.02em;
}
.ag-event__date-mes {
  font-family: var(--ag-font-heading);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--ag-sun-bright);
}
.ag-event__date-year {
  font-size: 11px; color: rgba(255,255,255,0.65);
  font-weight: 500;
}

.ag-event__body {
  padding: 20px 22px 22px;
  display: flex; flex-direction: column; gap: 10px;
  flex: 1;
}
.ag-event__title {
  font-family: var(--ag-font-heading);
  font-size: 16.5px; font-weight: 800;
  color: var(--ag-dark);
  line-height: 1.32;
  letter-spacing: -0.005em;
}
.ag-event__modality {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 500;
  color: var(--ag-gray-500);
  margin-top: -4px;
}
.ag-event__modality svg { width: 14px; height: 14px; opacity: 0.7; }
.ag-event__modality-sep {
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--ag-gray-300);
  display: inline-block;
}
.ag-event__desc {
  font-size: 13.5px;
  color: var(--ag-gray-600);
  line-height: 1.6;
  flex: 1;
}
.ag-event__meta {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 12px;
  background: var(--ag-gray-50);
  border: 1px solid var(--ag-gray-200);
  border-radius: var(--ag-radius-md);
  font-size: 12px;
  color: var(--ag-gray-600);
}
.ag-event__meta-item {
  display: flex; align-items: center; gap: 6px;
  font-weight: 500;
}
.ag-event__meta-item svg { width: 13px; height: 13px; opacity: 0.65; }
.ag-event__tags {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.ag-event__tag {
  font-size: 10.5px; font-weight: 600;
  padding: 4px 9px;
  background: var(--ag-sun-soft);
  color: var(--ag-sun-deep);
  border-radius: 99px;
  letter-spacing: 0.02em;
}
.ag-event__tag--free {
  background: var(--ag-coral-soft);
  color: var(--ag-coral-deep);
}
.ag-event__cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  font-family: var(--ag-font-heading);
  font-size: 13px; font-weight: 700;
  padding: 11px 16px;
  border-radius: var(--ag-radius-md);
  background: transparent;
  color: var(--ag-sun-deep);
  border: 1.5px solid rgba(180,83,9,0.40);
  transition: background 200ms, border-color 200ms, color 200ms, transform 200ms;
  margin-top: 6px;
}
.ag-event__cta:hover {
  background: var(--ag-sun);
  color: var(--ag-night);
  border-color: var(--ag-sun);
  transform: translateY(-1px);
}
.ag-event__cta svg { transition: transform 0.2s; }
.ag-event__cta:hover svg { transform: translateX(2px); }


/* ── Cómo funciona · Timeline minimalista ────────────────── */
.ag-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.ag-flow::before {
  content: ''; position: absolute;
  top: 20px; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(251,191,36,0.35) 15%,
    rgba(251,191,36,0.35) 85%,
    transparent 100%);
  z-index: 0;
}
.ag-flow__step {
  position: relative; z-index: 1;
  text-align: center;
  padding: 0 8px;
}
.ag-flow__num {
  width: 40px; height: 40px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--ag-paper);
  border: 1.5px solid var(--ag-sun);
  color: var(--ag-sun-deep);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ag-font-heading);
  font-size: 13px; font-weight: 800;
}
.ag-flow__title {
  font-family: var(--ag-font-heading);
  font-size: 15.5px; font-weight: 700;
  color: var(--ag-dark);
  margin-bottom: 8px;
  letter-spacing: -0.005em;
}
.ag-flow__desc {
  font-size: 13px;
  color: var(--ag-gray-500);
  line-height: 1.6;
  max-width: 220px;
  margin: 0 auto;
}


/* ── Biblioteca de grabaciones · Panel sobre blanco puro ──── */
.ag-library {
  padding: 88px 0;
  background: var(--ag-paper);   /* blanco puro · contrasta con gray-100 de "Cómo funciona" */
  position: relative;
}
.ag-library__panel {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--ag-paper) 0%, var(--ag-ivory) 100%);
  border: 1px solid var(--ag-gray-200);
  border-radius: 24px;
  padding: 56px 56px;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) auto;
  gap: 40px;
  align-items: center;
  box-shadow: var(--ag-shadow-md);
}
.ag-library__orbit {
  position: absolute;
  top: 50%; right: -160px;
  transform: translateY(-50%);
  width: 480px; height: 480px;
  border-radius: 50%;
  border: 1px solid rgba(251,191,36,0.25);
  pointer-events: none;
}
.ag-library__orbit::before {
  content: ''; position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  border: 1px solid rgba(251,113,133,0.20);
  top: 80px; left: 80px;
}
.ag-library__orbit::after {
  content: ''; position: absolute;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ag-sun);
  box-shadow: 0 0 12px var(--ag-sun-bright);
  top: -4px; left: 50%;
  animation: ag-orbit 36s linear infinite;
  transform-origin: 4px 244px;
}

.ag-library__content {
  position: relative;
  z-index: 1;
  max-width: 580px;
}
.ag-library__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px;
  background: var(--ag-sun-soft);
  border: 1px solid rgba(251,191,36,0.34);
  border-radius: 99px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ag-sun-deep);
  margin-bottom: 16px;
}
.ag-library__eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ag-sun);
  box-shadow: 0 0 8px var(--ag-sun-bright);
  animation: ag-blink 2s ease-in-out infinite;
}
.ag-library__title {
  font-family: var(--ag-font-heading);
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  font-weight: 800;
  color: var(--ag-dark);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.ag-library__sub {
  font-size: 15px;
  color: var(--ag-gray-600);
  line-height: 1.7;
  max-width: 480px;
}
.ag-library__cta {
  position: relative;
  z-index: 1;
}


/* ── Footer ──────────────────────────────────────────────── */
.ag-footer {
  background: var(--ag-night-deep);
  color: white;
  padding: 56px 0 28px;
  border-top: 1px solid rgba(251,191,36,0.12);
}
.ag-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 24px;
}
.ag-footer__brand-row {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 14px;
}
.ag-footer__brand-name {
  font-family: var(--ag-font-heading);
  font-size: 14px; font-weight: 800;
  color: white;
  letter-spacing: 0.005em;
}
.ag-footer__desc {
  font-size: 13px;
  color: rgba(255,255,255,0.50);
  line-height: 1.7;
  max-width: 280px;
}
.ag-footer__heading {
  font-size: 11px; font-weight: 700;
  color: var(--ag-sun-bright);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.ag-footer__links { display: flex; flex-direction: column; gap: 10px; }
.ag-footer__links a {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.15s;
}
.ag-footer__links a:hover { color: var(--ag-sun-bright); }
.ag-footer__bottom {
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 12px;
}
.ag-footer__copy { font-size: 12px; color: rgba(255,255,255,0.40); }
.ag-footer__bottom a {
  font-size: 12px;
  color: rgba(255,255,255,0.40);
  text-decoration: none;
  transition: color 0.15s;
}
.ag-footer__bottom a:hover { color: var(--ag-sun-bright); }


/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1100px) {
  .ag-hero__layout { grid-template-columns: 1fr; gap: 60px; }
  .ag-hero__orbital { width: 420px; height: 420px; }
  .ag-hero__orbit--1 { width: 420px; height: 420px; }
  .ag-hero__orbit--2 { width: 300px; height: 300px; }
  .ag-hero__orbit--3 { width: 180px; height: 180px; }
  .ag-footer__grid { grid-template-columns: 1fr 1fr; }
  .ag-library__panel { padding: 48px 40px; }
}
@media (max-width: 900px) {
  .ag-types { grid-template-columns: 1fr; }
  .ag-flow { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .ag-flow::before { display: none; }
  .ag-library__panel { grid-template-columns: 1fr; text-align: center; }
  .ag-library__sub { margin-left: auto; margin-right: auto; }
  .ag-library__orbit { display: none; }
}
@media (max-width: 768px) {
  .ag-nav__links { display: none; }
  .ag-nav__cta { display: none; }
  .ag-nav__toggle { display: flex; }
  .ag-hero { padding: 80px 0 60px; }
  .ag-hero__stats { gap: 28px; }
  .ag-hero__orbital { width: 340px; height: 340px; }
  .ag-hero__orbit--1 { width: 340px; height: 340px; }
  .ag-hero__orbit--2 { width: 240px; height: 240px; }
  .ag-hero__orbit--3 { width: 150px; height: 150px; }
  .ag-hero__medallion { width: 110px; height: 110px; }
  .ag-hero__medallion svg { width: 46px; height: 46px; }
  .ag-section { padding: 64px 0; }
  .ag-section__head { margin-bottom: 44px; }
  .ag-events { grid-template-columns: 1fr; }
  .ag-library { padding: 64px 0; }
  .ag-library__panel { padding: 40px 28px; }
  .ag-footer__grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 480px) {
  .ag-flow { grid-template-columns: 1fr; }
}
