/* ============================================================
   summits/styles.css — Portal Rinsa Summits
   summits.rinsainc.com · v2.1 · Mayo 2026

   Identidad visual coherente con landing canónica `/innovacion-panama-2026/`:
   forest + emerald + gold + cream · animaciones mesh + orbs
   ============================================================ */

/* ── Variables ──────────────────────────────────────────────── */
:root {
  --sm-forest:        #1A4A2E;
  --sm-forest-dark:   #0D2E1A;
  --sm-forest-deep:   #051A0A;
  --sm-forest-light:  rgba(26,74,46,0.08);
  --sm-emerald:       #2D7A4F;
  --sm-emerald-dark:  #1F5C3B;
  --sm-emerald-light: rgba(45,122,79,0.10);
  --sm-gold:          #C9A227;
  --sm-gold-dark:     #9A7A1C;
  --sm-gold-light:    rgba(201,162,39,0.12);
  --sm-cream:         #F4FAF6;
  --sm-white:         #FFFFFF;
  --sm-gray-50:       #FAFAFA;
  --sm-gray-100:      #F0EFED;
  --sm-gray-200:      #D1D5DB;
  --sm-gray-500:      #6B7280;
  --sm-gray-700:      #374151;
  --sm-dark:          #0A1A0E;

  --sm-font-heading:  'Plus Jakarta Sans', 'Inter', sans-serif;
  --sm-font-body:     'Inter', sans-serif;
  --sm-max-width:     1200px;
  --sm-radius-sm:     6px;
  --sm-radius-md:     10px;
  --sm-radius-lg:     16px;
  --sm-radius-full:   99px;
  --sm-shadow-sm:     0 1px 3px rgba(0,0,0,0.08);
  --sm-shadow-md:     0 4px 16px rgba(10,26,14,0.1);
  --sm-shadow-lg:     0 8px 32px rgba(10,26,14,0.15);
}

[hidden] { display: none !important; }

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--sm-font-body); color: var(--sm-dark); background: var(--sm-white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
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(--sm-max-width); margin: 0 auto; padding: 0 24px; }

/* ── Botones ─────────────────────────────────────────────────── */
.sm-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; border-radius: var(--sm-radius-md);
  font-family: var(--sm-font-heading); font-size: 14px; font-weight: 700;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background 180ms, color 180ms, border-color 180ms, opacity 180ms, transform 180ms, box-shadow 180ms;
  text-decoration: none; white-space: nowrap;
}
.sm-btn--forest { background: var(--sm-forest); color: white; border-color: var(--sm-forest); box-shadow: 0 4px 14px rgba(26,74,46,0.3); }
.sm-btn--forest:hover { background: var(--sm-forest-dark); border-color: var(--sm-forest-dark); transform: translateY(-1px); }
.sm-btn--gold { background: var(--sm-gold); color: var(--sm-forest-deep); border-color: var(--sm-gold); box-shadow: 0 4px 14px rgba(201,162,39,0.3); }
.sm-btn--gold:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(201,162,39,0.4); }
.sm-btn--outline-white { background: transparent; color: white; border-color: rgba(255,255,255,0.5); }
.sm-btn--outline-white:hover { background: rgba(255,255,255,0.12); border-color: white; }
.sm-btn--outline-forest { background: transparent; color: var(--sm-forest); border-color: var(--sm-forest); }
.sm-btn--outline-forest:hover { background: var(--sm-forest); color: white; }
.sm-btn--ghost { background: transparent; color: var(--sm-gray-500); border-color: transparent; }
.sm-btn--ghost:hover { color: var(--sm-dark); }
.sm-btn--lg { padding: 13px 26px; font-size: 15px; }
.sm-btn--full { width: 100%; justify-content: center; }

/* ── Navbar ─────────────────────────────────────────────────── */
.sm-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,26,14,0.96); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.sm-nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; height: 64px; max-width: var(--sm-max-width); margin: 0 auto; padding: 0 24px;
}
.sm-nav__brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.sm-nav__logo { height: 26px; width: auto; }
.sm-nav__brand-text { display: flex; flex-direction: column; }
.sm-nav__brand-title { font-family: var(--sm-font-heading); font-size: 13px; font-weight: 800; color: white; line-height: 1.1; }
.sm-nav__brand-sub   { font-size: 10px; color: rgba(255,255,255,0.5); font-weight: 500; line-height: 1; margin-top: 2px; }
.sm-nav__links { display: flex; align-items: center; gap: 28px; }
.sm-nav__link { font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.65); transition: color 0.15s; text-decoration: none; }
.sm-nav__link:hover { color: white; }
.sm-nav__toggle { display: none; background: none; border: none; color: white; padding: 4px; }

/* Drawer móvil */
.sm-drawer { position: fixed; inset: 0; z-index: 200; pointer-events: none; }
.sm-drawer__overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); opacity: 0; transition: opacity 0.25s; }
.sm-drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: 260px;
  background: var(--sm-forest-deep); padding: 24px 20px; display: flex; flex-direction: column; gap: 4px;
  transform: translateX(100%); transition: transform 0.25s ease;
}
.sm-drawer.open { pointer-events: all; }
.sm-drawer.open .sm-drawer__overlay { opacity: 1; }
.sm-drawer.open .sm-drawer__panel   { transform: translateX(0); }
.sm-drawer__close { background: none; border: none; color: rgba(255,255,255,0.6); padding: 4px; margin-bottom: 16px; align-self: flex-end; }
.sm-drawer__link { padding: 12px 8px; font-size: 15px; color: rgba(255,255,255,0.75); border-bottom: 1px solid rgba(255,255,255,0.07); display: block; }
.sm-drawer__link:hover { color: white; }
.sm-drawer__cta { margin-top: 16px; display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: var(--sm-forest); color: white; border-radius: var(--sm-radius-md); font-weight: 700; font-size: 14px; }

/* ── Hero portal · v2 con animación viva ─────────────────────── */
.sm-hero {
  background: var(--sm-forest-deep);
  padding: 110px 0 90px;
  color: white;
  position: relative;
  overflow: hidden;
}
.sm-hero__bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.sm-hero__mesh {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 15% 60%, rgba(26,74,46,0.7) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 85% 15%, rgba(45,122,79,0.35) 0%, transparent 50%),
    radial-gradient(ellipse 70% 80% at 50% 110%, rgba(5,26,10,0.9) 0%, transparent 60%);
  animation: sm-mesh-portal 14s ease-in-out infinite alternate;
}
@keyframes sm-mesh-portal {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-2%, 1%) scale(1.05); }
}
.sm-hero__dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 35%, transparent 80%);
}
.sm-hero__orb { position: absolute; border-radius: 50%; filter: blur(40px); }
.sm-hero__orb--1 {
  width: 360px; height: 360px;
  top: 10%; left: 4%;
  background: radial-gradient(circle, rgba(26,74,46,0.7) 0%, transparent 70%);
  animation: sm-orb-portal 20s ease-in-out infinite;
}
.sm-hero__orb--2 {
  width: 260px; height: 260px;
  bottom: 15%; right: 12%;
  background: radial-gradient(circle, rgba(45,122,79,0.35) 0%, transparent 70%);
  animation: sm-orb-portal 16s ease-in-out infinite reverse;
}
.sm-hero__orb--3 {
  width: 200px; height: 200px;
  top: 50%; right: 38%;
  background: radial-gradient(circle, rgba(201,162,39,0.12) 0%, transparent 70%);
  animation: sm-orb-portal 24s ease-in-out infinite 4s;
}
@keyframes sm-orb-portal {
  0%, 100% { transform: translate(0, 0); }
  33%      { transform: translate(28px, -22px); }
  66%      { transform: translate(-18px, 22px); }
}

.sm-hero__inner { position: relative; z-index: 1; max-width: 720px; }
.sm-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px;
  background: rgba(201,162,39,0.12);
  border: 1px solid rgba(201,162,39,0.3);
  border-radius: 99px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--sm-gold); margin-bottom: 22px;
}
.sm-hero__eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--sm-gold);
  box-shadow: 0 0 8px var(--sm-gold);
  animation: sm-blink-portal 2s ease-in-out infinite;
}
@keyframes sm-blink-portal { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.sm-hero__title { font-family: var(--sm-font-heading); font-size: clamp(2.6rem,5.5vw,4.2rem); font-weight: 800; color: white; margin-bottom: 16px; line-height: 1.05; letter-spacing: -0.02em; }
.sm-hero__sub   { font-size: clamp(1rem,2vw,1.25rem); color: rgba(255,255,255,0.78); line-height: 1.7; margin-bottom: 32px; max-width: 620px; }

.sm-hero__stats {
  display: flex; gap: 36px; flex-wrap: wrap;
  padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 32px;
}
.sm-hero__stat  { display: flex; flex-direction: column; gap: 4px; }
.sm-hero__stat-val { font-family: var(--sm-font-heading); font-size: 2rem; font-weight: 800; color: var(--sm-gold); line-height: 1; }
.sm-hero__stat-label { font-size: 12px; color: rgba(255,255,255,0.55); font-weight: 500; letter-spacing: 0.02em; }

.sm-hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Sección ─────────────────────────────────────────────────── */
.sm-section { padding: 64px 0; }
.sm-section--cream { background: var(--sm-cream); }
.sm-section__header { text-align: center; margin-bottom: 48px; }
.sm-section__eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sm-emerald); margin-bottom: 10px; }
.sm-section__title { font-family: var(--sm-font-heading); font-size: clamp(1.6rem,3vw,2.4rem); font-weight: 800; color: var(--sm-dark); margin-bottom: 12px; }
.sm-section__sub   { font-size: 15px; color: var(--sm-gray-500); max-width: 620px; margin: 0 auto; line-height: 1.7; }

/* ── Cards de eventos · v2 ────────────────────────────────────── */
.sm-events-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px,1fr)); gap: 24px; }
.sm-event-card {
  background: white; border-radius: var(--sm-radius-lg);
  border: 1px solid var(--sm-gray-100); overflow: hidden;
  box-shadow: var(--sm-shadow-sm); display: flex; flex-direction: column;
  transition: box-shadow 220ms, transform 220ms, border-color 220ms;
  position: relative;
}
.sm-event-card:hover {
  box-shadow: var(--sm-shadow-lg);
  transform: translateY(-4px);
  border-color: var(--sm-emerald-light);
}
.sm-event-card__thumb {
  height: 160px;
  background: linear-gradient(135deg, var(--sm-forest-dark) 0%, var(--sm-forest) 60%, var(--sm-emerald) 100%);
  position: relative;
  overflow: hidden;
}
.sm-event-card__thumb::before {
  content: ''; position: absolute;
  width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,39,0.3) 0%, transparent 70%);
  bottom: -60px; right: -50px;
}
.sm-event-card__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%);
}
.sm-event-card__badge {
  position: absolute; top: 14px; left: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  background: rgba(0,0,0,0.45); color: var(--sm-gold); padding: 5px 11px; border-radius: var(--sm-radius-full);
  backdrop-filter: blur(8px);
  z-index: 2;
}
.sm-event-card__badge::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--sm-gold); box-shadow: 0 0 6px var(--sm-gold);
}
.sm-event-card__date-pill {
  position: absolute; bottom: 14px; left: 14px;
  display: flex; align-items: center; gap: 10px;
  z-index: 2;
}
.sm-event-card__date-num {
  font-family: var(--sm-font-heading);
  font-size: 36px; font-weight: 800; color: white;
  line-height: 0.9;
}
.sm-event-card__date-mes {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  color: var(--sm-gold); text-transform: uppercase;
}
.sm-event-card__date-year {
  font-size: 11px; color: rgba(255,255,255,0.6); font-weight: 500;
}
.sm-event-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.sm-event-card__title { font-family: var(--sm-font-heading); font-size: 18px; font-weight: 800; color: var(--sm-dark); line-height: 1.3; }
.sm-event-card__sub { font-size: 13.5px; color: var(--sm-gray-500); font-weight: 500; line-height: 1.5; margin-top: -4px; }

.sm-event-card__venue {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 12px;
  background: var(--sm-cream);
  border: 1px solid var(--sm-gray-100);
  border-radius: var(--sm-radius-md);
}
.sm-event-card__venue > svg { color: var(--sm-emerald); margin-top: 3px; flex-shrink: 0; }
.sm-event-card__venue-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.sm-event-card__venue-name {
  font-family: var(--sm-font-heading);
  font-size: 13px; font-weight: 700; color: var(--sm-forest);
}
.sm-event-card__venue-city {
  font-size: 11.5px; color: var(--sm-gray-500); font-weight: 500;
}

.sm-event-card__meta  { display: flex; gap: 14px; flex-wrap: wrap; }
.sm-event-card__meta-item { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--sm-gray-500); font-weight: 500; }
.sm-event-card__meta-item svg { color: var(--sm-emerald); }

.sm-event-card__tags  { display: flex; gap: 6px; flex-wrap: wrap; }
.sm-event-card__tag   { font-size: 11px; background: var(--sm-emerald-light); color: var(--sm-emerald); padding: 4px 10px; border-radius: var(--sm-radius-full); font-weight: 600; }

.sm-event-card__cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 13.5px; font-weight: 700; padding: 11px 16px; border-radius: var(--sm-radius-md);
  background: var(--sm-forest); color: white;
  transition: background 180ms; margin-top: 6px;
}
.sm-event-card__cta:hover { background: var(--sm-forest-dark); }

/* ── Cómo funciona · Mosaico ─────────────────────────────────── */
.sm-como {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}
.sm-como__item {
  position: relative;
  padding: 26px 24px;
  background: var(--sm-gray-50);
  border: 1px solid var(--sm-gray-100);
  border-radius: var(--sm-radius-lg);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 200ms, box-shadow 200ms, border-color 200ms;
  overflow: hidden;
}
.sm-como__item:hover {
  transform: translateY(-3px);
  box-shadow: var(--sm-shadow-md);
  border-color: var(--sm-emerald-light);
}
.sm-como__item--principal {
  grid-column: span 2; grid-row: span 2;
  background: linear-gradient(135deg, var(--sm-forest) 0%, var(--sm-forest-dark) 100%);
  color: white;
  border-color: transparent;
}
.sm-como__item--principal::before {
  content: '';
  position: absolute;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45,122,79,0.3) 0%, transparent 70%);
  bottom: -70px; right: -70px;
  pointer-events: none;
}
.sm-como__item--horizontal { grid-column: span 2; }
.sm-como__icon {
  width: 44px; height: 44px;
  border-radius: var(--sm-radius-md);
  background: var(--sm-emerald-light);
  color: var(--sm-emerald);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.sm-como__item--principal .sm-como__icon {
  background: rgba(201,162,39,0.18);
  color: var(--sm-gold);
}
.sm-como__icon svg { width: 22px; height: 22px; }
.sm-como__titulo {
  font-family: var(--sm-font-heading);
  font-size: 17px; font-weight: 700;
  color: var(--sm-dark); line-height: 1.3;
}
.sm-como__item--principal .sm-como__titulo { color: white; font-size: 22px; }
.sm-como__desc {
  font-size: 13.5px; color: var(--sm-gray-500); line-height: 1.65;
}
.sm-como__item--principal .sm-como__desc { color: rgba(255,255,255,0.78); font-size: 14.5px; }

/* ── CTA Banner ─────────────────────────────── */
.sm-cta-banner {
  position: relative;
  padding: 60px 0;
  background: linear-gradient(135deg, var(--sm-forest-deep) 0%, var(--sm-forest-dark) 100%);
  color: white;
  overflow: hidden;
}
.sm-cta-banner::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,39,0.18) 0%, transparent 70%);
  top: -150px; right: -100px;
  filter: blur(40px);
  pointer-events: none;
}
.sm-cta-banner::after {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45,122,79,0.4) 0%, transparent 70%);
  bottom: -120px; left: -80px;
  filter: blur(40px);
  pointer-events: none;
}
.sm-cta-banner__inner {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 24px;
  max-width: var(--sm-max-width); margin: 0 auto; padding: 0 24px;
}
.sm-cta-banner__title {
  font-family: var(--sm-font-heading);
  font-size: 1.4rem; font-weight: 800; color: white;
  margin-bottom: 8px;
}
.sm-cta-banner__sub {
  font-size: 14.5px; color: rgba(255,255,255,0.7);
  max-width: 460px;
}

/* ── Footer ─────────────────────────────────────────────────── */
.sm-footer { background: var(--sm-forest-deep); color: white; padding: 40px 0 24px; }
.sm-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 20px; }
.sm-footer__logo { height: 24px; margin-bottom: 12px; }
.sm-footer__desc { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.7; max-width: 280px; }
.sm-footer__heading { font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.7); letter-spacing: 0.07em; text-transform: uppercase; margin-bottom: 14px; }
.sm-footer__links { display: flex; flex-direction: column; gap: 10px; }
.sm-footer__links a { font-size: 13px; color: rgba(255,255,255,0.45); transition: color 0.15s; }
.sm-footer__links a:hover { color: white; }
.sm-footer__bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.sm-footer__copy { font-size: 12px; color: rgba(255,255,255,0.3); }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .sm-footer__grid { grid-template-columns: 1fr 1fr; }
  .sm-como { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .sm-como__item--principal { grid-column: span 2; }
  .sm-como__item--horizontal { grid-column: span 2; }
}
@media (max-width: 768px) {
  .sm-nav__links { display: none; }
  .sm-nav__toggle { display: flex; }
  .sm-hero { padding: 70px 0 50px; }
  .sm-hero__stats { gap: 24px; }
  .sm-events-grid { grid-template-columns: 1fr; }
  .sm-footer__grid { grid-template-columns: 1fr; gap: 24px; }
  .sm-como { grid-template-columns: 1fr; }
  .sm-como__item, .sm-como__item--principal, .sm-como__item--horizontal { grid-column: span 1; grid-row: span 1; }
  .sm-como__item--principal { grid-row: span 2; }
  .sm-cta-banner__inner { flex-direction: column; align-items: flex-start; }
}
