:root {
  --navy-900: #081a3a;
  --navy-800: #0d224a;
  --navy-700: #142e5e;
  --lime: #c8e347;
  --lime-bright: #d4f04e;
  --ink: #0b1530;
  --paper: #ffffff;
  --paper-soft: #f4f6fb;
  --rule: #e3e7f0;
  --muted: #5a657d;
  --max: 1100px;
  --radius: 12px;
  --topbar-h: 60px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
}

h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  color: var(--navy-900);
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 24px;
}

h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 3px;
  background: var(--lime);
}

h3 {
  font-size: 1.05rem;
  color: var(--navy-800);
  margin-top: 2rem;
}

p { margin: 0 0 1em; }

strong { font-weight: 700; }

a { color: var(--navy-700); }

/* ---------- Top bar ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy-900);
  color: var(--paper);
  border-bottom: 2px solid var(--lime);
  height: var(--topbar-h);
}

.topbar-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.topbar-brand {
  color: var(--paper);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.brand-name {
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-pe { color: var(--lime); }

.brand-sub {
  font-size: 0.7rem;
  color: #aab4ca;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar-socials {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 4px;
}

.topbar-socials a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--paper);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: background 120ms ease, color 120ms ease;
}

.topbar-socials a:hover {
  background: rgba(200, 227, 71, 0.12);
  color: var(--lime);
}

.topbar-socials svg { display: block; }

@media (max-width: 720px) {
  .topbar-socials .social-text { display: none; }
  .topbar-socials a { padding: 8px; }
  .brand-sub { display: none; }
}

/* ---------- Hero ---------- */

.hero {
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(200, 227, 71, 0.12), transparent 60%),
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}

.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 64px 24px 72px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-text { min-width: 0; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--lime);
  margin: 0 0 22px;
}

.hero-name {
  font-weight: 800;
  line-height: 0.95;
  margin: 0 0 22px;
  letter-spacing: -0.025em;
  color: var(--paper);
}

.hero-line {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-line + .hero-line {
  margin-top: 6px;
}

.hero-name .hero-prefix {
  font-size: clamp(1.4rem, 2.6vw, 2.2rem);
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.02em;
  color: var(--lime);
}

.hero-name .hero-first,
.hero-name .hero-last {
  font-size: clamp(2.4rem, 6.4vw, 4.8rem);
  color: var(--paper);
}

.hero-name .hero-pe {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--navy-900);
  background: var(--lime);
  padding: 5px 10px;
  border-radius: 4px;
  align-self: center;
  white-space: nowrap;
}

.hero-slogan {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 600;
  margin: 12px 0 4px;
  color: var(--paper);
}

.hero-conf {
  font-style: italic;
  font-weight: 700;
  border-bottom: 3px solid var(--lime);
  padding-bottom: 1px;
}

.hero-tagline {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #aab4ca;
  margin: 8px 0 0;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: transform 120ms ease, background 120ms ease, color 120ms ease, border-color 120ms ease;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--lime);
  color: var(--navy-900);
}

.btn-primary:hover {
  background: var(--lime-bright);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-ghost:hover {
  border-color: var(--lime);
  color: var(--lime);
}

.hero-image {
  display: flex;
  justify-content: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  max-height: 620px;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

/* ---------- About ---------- */

.about {
  padding: 80px 0 32px;
}

.about p {
  font-size: 1.05rem;
  max-width: 760px;
  color: #1f2a44;
}

/* ---------- Trayectoria ---------- */

.cred {
  background: var(--paper-soft);
  padding: 72px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.cred-intro {
  font-size: 1.02rem;
  color: var(--muted);
  max-width: 720px;
  margin-bottom: 36px;
}

.cred-grid {
  column-count: 2;
  column-gap: 32px;
}

.cred-block {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 24px 26px;
  margin: 0 0 24px;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  display: block;
  width: 100%;
}

.cred-block h3 {
  margin: 0 0 14px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--navy-800);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule);
  position: relative;
}

.cred-block h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 36px;
  height: 2px;
  background: var(--lime);
}

.cred-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cred-block li {
  position: relative;
  padding: 8px 0 8px 16px;
  font-size: 0.96rem;
  color: #1f2a44;
  line-height: 1.5;
}

.cred-block li + li {
  border-top: 1px solid var(--rule);
}

.cred-block li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 6px;
  height: 1px;
  background: var(--navy-800);
}

.cred-block ul ul {
  list-style: none;
  padding: 6px 0 4px 14px;
  margin: 8px 0 0 4px;
  border-left: 2px solid var(--lime);
}

.cred-block ul ul li {
  font-size: 0.9rem;
  padding: 5px 0 5px 14px;
  color: var(--muted);
  border-top: none;
}

.cred-block ul ul li + li {
  border-top: 1px dashed var(--rule);
}

.cred-block ul ul li::before {
  background: var(--lime);
  width: 8px;
  top: 16px;
}

/* ---------- Visión ---------- */

.vision {
  padding: 80px 0;
}

.vision-lead {
  font-size: 1.1rem;
  max-width: 820px;
  color: #1f2a44;
  margin-bottom: 36px;
}

.pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

.pillar.pillar-wide {
  grid-column: 1 / -1;
}

.pillar {
  padding: 24px 26px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--paper);
  border-left: 4px solid var(--lime);
}

.pillar h3 {
  margin-top: 0;
  font-size: 1.02rem;
  color: var(--navy-900);
}

.pillar p {
  margin: 0;
  font-size: 0.96rem;
  color: #1f2a44;
}

/* ---------- Sigue la campaña ---------- */

.follow {
  background: var(--navy-900);
  color: var(--paper);
  padding: 72px 0;
}

.follow h2 { color: var(--paper); }
.follow h2::after { background: var(--lime); }

.follow-lead {
  color: #c0c8db;
  max-width: 700px;
  margin-bottom: 32px;
}

.socials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.social {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--navy-800);
  color: var(--paper);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 120ms ease, border-color 120ms ease, background 120ms ease;
}

.social:hover {
  transform: translateY(-2px);
  border-color: var(--lime);
  background: var(--navy-700);
}

.social:hover .social-cta { color: var(--lime-bright); }

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(200, 227, 71, 0.1);
  border-radius: 10px;
  color: var(--lime);
}

.social-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.social-label {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--paper);
  letter-spacing: 0.01em;
}

.social-cta {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--lime);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 120ms ease;
}

/* ---------- Floating CTA ---------- */

.floating-cta {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--navy-900);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.32), 0 4px 12px rgba(8, 26, 58, 0.22);
  transition: transform 150ms ease, box-shadow 150ms ease, background 120ms ease;
}

.floating-cta:hover {
  transform: translateY(-2px);
  background: var(--lime-bright);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.38), 0 6px 16px rgba(8, 26, 58, 0.28);
  color: var(--navy-900);
}

.floating-cta-arrow {
  font-weight: 800;
  display: inline-block;
  transition: transform 150ms ease;
}

.floating-cta:hover .floating-cta-arrow {
  transform: translateX(2px);
}

@media (max-width: 520px) {
  .floating-cta {
    bottom: 14px;
    right: 14px;
    padding: 12px 18px;
    font-size: 0.88rem;
  }
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: #aab4ca;
  padding: 28px 0 36px;
  font-size: 0.85rem;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}

.footer-socials {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 4px;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: #aab4ca;
  border-radius: 8px;
  transition: color 120ms ease, background 120ms ease;
}

.footer-socials a:hover {
  color: var(--lime);
  background: rgba(200, 227, 71, 0.08);
}

.footer-socials svg { display: block; }

.site-footer .disclaimer { margin: 0; }
.site-footer .copy { margin: 0; }
.site-footer a { color: var(--lime); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* ---------- Responsive ---------- */

@media (max-width: 880px) {
  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('media/apportrait.png') no-repeat;
    background-position: right -8%;
    background-size: auto 105%;
    opacity: 0.40;
    pointer-events: none;
    z-index: 0;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 44px 24px 56px;
    text-align: center;
    position: relative;
    z-index: 1;
  }
  .hero-line { justify-content: center; }
  .hero-actions { justify-content: center; }
  .hero-image { display: none; }
  .cred-grid { column-count: 1; }
  .pillars { grid-template-columns: 1fr; }
  .pillar.pillar-wide { order: 1; }
  .socials { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .hero-inner { padding: 28px 24px 36px; }
  .eyebrow { font-size: 0.7rem; letter-spacing: 0.14em; margin-bottom: 18px; }
  .hero-name { margin-bottom: 18px; }
  .hero-name .hero-first,
  .hero-name .hero-last { font-size: 2.6rem; }
  .hero-line { gap: 10px; }
  .hero-line + .hero-line { margin-top: 2px; }
  .hero-name .hero-prefix { font-size: 1.4rem; }
  .hero-name .hero-pe { font-size: 0.78rem; padding: 4px 8px; }
  .hero-slogan { font-size: 1.25rem; margin-top: 4px; }
  .hero-tagline { font-size: 0.78rem; }
  .hero-actions { margin-top: 24px; }
  .about, .vision { padding: 56px 0; }
  .cred { padding: 56px 0; }
  .cred-block { padding: 20px; }
}

/* ---------- Page header (non-landing pages) ---------- */

.page-header {
  background:
    radial-gradient(800px 300px at 85% -10%, rgba(200, 227, 71, 0.10), transparent 60%),
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: var(--paper);
  position: relative;
  overflow: hidden;
  padding: 56px 0 48px;
}

.page-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: var(--lime);
}

.page-header .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--lime);
  margin: 0 0 12px;
}

.page-header h1 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: var(--paper);
}

.page-header p {
  font-size: 1.05rem;
  color: #cfd6e6;
  max-width: 700px;
  margin: 0;
}

/* ---------- Events list ---------- */

.events-list { padding: 64px 0 72px; }

.events-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.event-card {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 0;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(8, 26, 58, 0.06);
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.event-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(8, 26, 58, 0.10);
}

.event-card-date {
  background: var(--navy-900);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 8px;
  text-align: center;
  position: relative;
}

.event-card-date::after {
  content: "";
  position: absolute;
  right: 0;
  top: 18%;
  bottom: 18%;
  width: 3px;
  background: var(--lime);
}

.event-card-date-month {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--lime);
  margin: 0;
}

.event-card-date-day {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 4px 0 0;
  color: var(--paper);
}

.event-card-date-year {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #aab4ca;
  margin: 6px 0 0;
}

.event-card-date-dow {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #aab4ca;
  margin: 4px 0 0;
}

.event-card-date-map {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  padding: 4px 8px;
  border-radius: 4px;
  color: var(--lime);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 120ms ease, color 120ms ease;
}

.event-card-date-map:hover {
  background: rgba(200, 227, 71, 0.15);
  color: var(--paper);
}

.event-card-date-map:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
}

.event-card-date-map svg { display: block; }

.event-card--past .event-card-date-map,
.event-card--cancelled .event-card-date-map {
  color: var(--paper);
  opacity: 0.7;
}

.event-card-body {
  padding: 18px 22px 20px;
  min-width: 0;
}

.event-card-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: 0 0 10px;
}

.event-card-type {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--muted);
}

.event-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy-900);
  margin: 0 0 10px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.event-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin: 0 0 10px;
  font-size: 0.86rem;
  color: #1f2a44;
}
.event-card-meta strong { color: var(--navy-900); }

.event-card-description {
  font-size: 0.88rem;
  color: #1f2a44;
  margin: 0 0 14px;
  line-height: 1.5;
}

.event-card-cta {
  display: inline-block;
  padding: 9px 18px;
  background: var(--lime);
  color: var(--navy-900);
  text-decoration: none;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.86rem;
  transition: background 120ms ease, transform 120ms ease;
}
.event-card-cta:hover { background: var(--lime-bright); transform: translateY(-1px); }

@media (max-width: 880px) {
  .events-grid { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 480px) {
  .event-card { grid-template-columns: 88px 1fr; }
  .event-card-date { padding: 14px 6px; }
  .event-card-date-day { font-size: 1.9rem; }
  .event-card-body { padding: 14px 18px 16px; }
  .event-card h3 { font-size: 1rem; }
  .event-card-date::after { display: none; }
}

.events-empty {
  background: var(--paper-soft);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  color: var(--muted);
  font-size: 1.02rem;
}
.events-empty p { margin: 0 auto; max-width: 480px; }

/* ---------- Topbar nav (brand + nav links on left) ---------- */

.topbar-left {
  display: flex;
  align-items: center;
  gap: 22px;
  min-width: 0;
  flex: 1;
}

.topbar-nav-link {
  color: var(--paper);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 8px 14px;
  border-radius: 8px;
  transition: background 120ms ease, color 120ms ease;
  white-space: nowrap;
}

.topbar-nav-link:hover {
  background: rgba(200, 227, 71, 0.12);
  color: var(--lime);
}

.topbar-nav-link[aria-current="page"] {
  color: var(--lime);
  background: rgba(200, 227, 71, 0.08);
}

@media (max-width: 720px) {
  .topbar-left { gap: 14px; }
  .topbar-nav-link { padding: 6px 10px; font-size: 0.84rem; }
}

@media (max-width: 480px) {
  .topbar-left { gap: 10px; }
  .topbar-nav-link { padding: 6px 8px; font-size: 0.78rem; }
}

/* ---------- Next-event banner (landing) ---------- */

.next-event {
  background: var(--paper-soft);
  padding: 56px 0;
  border-bottom: 1px solid var(--rule);
}

.next-event-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 0;
  align-items: stretch;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(8, 26, 58, 0.08);
}

.next-event-date {
  background: var(--navy-900);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 12px;
  text-align: center;
  position: relative;
}

.next-event-date::after {
  content: "";
  position: absolute;
  right: 0;
  top: 16%;
  bottom: 16%;
  width: 3px;
  background: var(--lime);
}

.next-event-date-month {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--lime);
  margin: 0;
}

.next-event-date-day {
  font-size: 3.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 4px 0 0;
  color: var(--paper);
}

.next-event-date-year {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #aab4ca;
  margin: 8px 0 0;
}

.next-event-date-dow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #aab4ca;
  margin: 4px 0 0;
}

.next-event-date-map {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 14px;
  padding: 4px 8px;
  border-radius: 4px;
  color: var(--lime);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 120ms ease, color 120ms ease;
}

.next-event-date-map:hover {
  background: rgba(200, 227, 71, 0.15);
  color: var(--paper);
}

.next-event-date-map:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
}

.next-event-date-map svg { display: block; }

.next-event-content {
  padding: 20px 26px 22px;
  min-width: 0;
}

.next-event-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--navy-700);
  margin: 0 0 8px;
}

.next-event h2 {
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  color: var(--navy-900);
  margin: 0 0 10px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  padding-bottom: 0;
}

.next-event h2::after { display: none; }

.next-event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  font-size: 0.88rem;
  color: #1f2a44;
  margin: 0 0 10px;
}
.next-event-meta strong { color: var(--navy-900); }

.next-event-description {
  font-size: 0.92rem;
  color: #1f2a44;
  margin: 0 0 14px;
  max-width: 560px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.45;
}

.next-event-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.next-event-actions .event-card-cta {
  font-size: 0.9rem;
  padding: 10px 18px;
}

.secondary-link {
  color: var(--navy-700);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}
.secondary-link:hover { text-decoration: underline; color: var(--navy-900); }

@media (max-width: 880px) {
  .next-event-card {
    grid-template-columns: 110px 1fr;
  }
  .next-event-date { padding: 18px 8px; }
  .next-event-date-day { font-size: 2.6rem; }
  .next-event-date-month { font-size: 0.78rem; }
  .next-event-date-year, .next-event-date-dow { font-size: 0.68rem; }
  .next-event-content { padding: 20px 22px 24px; }
}

@media (max-width: 480px) {
  .next-event-card { grid-template-columns: 90px 1fr; }
  .next-event-date-day { font-size: 2.2rem; }
  .next-event-date::after { display: none; }
  .next-event h2 { font-size: 1.2rem; }
}

/* ---------- Event card with image (eventos page) ---------- */

.event-card.event-card-with-image {
  padding: 0;
  overflow: hidden;
  border-left-width: 6px;
}

.event-card-image {
  width: 100%;
  aspect-ratio: 16/7;
  background: var(--paper-soft);
  overflow: hidden;
  position: relative;
}

.event-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.event-card-body {
  padding: 24px 26px 26px;
}

.event-card-body h3 { margin-top: 0; }

/* ---------- Events promo CTA (replaces sigueme on landing) ---------- */

.events-promo {
  background: var(--navy-900);
  color: var(--paper);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.events-promo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(800px 400px at 50% 0%, rgba(200, 227, 71, 0.10), transparent 60%);
  pointer-events: none;
}

.events-promo .container { position: relative; }

.events-promo-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--lime);
  margin: 0 0 14px;
}

.events-promo h2 {
  color: var(--paper);
  margin: 0 0 20px;
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  padding-bottom: 14px;
}

.events-promo h2::after {
  background: var(--lime);
  left: 50%;
  transform: translateX(-50%);
}

.events-promo-lead {
  color: #c0c8db;
  max-width: 640px;
  margin: 0 auto 32px;
  font-size: 1.05rem;
  line-height: 1.6;
}

.events-promo-cta {
  display: inline-block;
  padding: 14px 32px;
  background: var(--lime);
  color: var(--navy-900);
  text-decoration: none;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  transition: background 120ms ease, transform 120ms ease;
}

.events-promo-cta:hover {
  background: var(--lime-bright);
  transform: translateY(-2px);
}

/* ---------- Events carousel (multiple active events on landing) ---------- */

.next-events-wrap {
  position: relative;
}

.next-events-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.next-events-carousel > * {
  scroll-snap-align: start;
  min-width: 0;
}

.next-events-carousel::-webkit-scrollbar { display: none; }

.next-events-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--navy-900);
  border: 1px solid var(--rule);
  box-shadow: 0 6px 18px rgba(8, 26, 58, 0.18);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  padding: 0;
  transition: background 120ms ease, color 120ms ease, transform 120ms ease, opacity 120ms ease;
}

.next-events-arrow:hover:not(:disabled) {
  background: var(--lime);
  transform: translateY(-50%) scale(1.06);
}

.next-events-arrow:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

.next-events-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  box-shadow: none;
}

.next-events-arrow--prev { left: -18px; }
.next-events-arrow--next { right: -18px; }

@media (max-width: 720px) {
  .next-events-arrow { width: 38px; height: 38px; }
  .next-events-arrow--prev { left: 6px; }
  .next-events-arrow--next { right: 6px; }
}

/* ---------- Loading states ---------- */

.next-event-loading,
.events-loading {
  text-align: center;
  padding: 32px 24px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Event status badges (inline in card body) ---------- */

.event-status-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.event-status-badge--active {
  background: var(--lime);
  color: var(--navy-900);
}
.event-status-badge--upcoming {
  background: var(--paper);
  color: var(--navy-700);
  border: 1px solid var(--navy-700);
}
.event-status-badge--past {
  background: rgba(8, 26, 58, 0.1);
  color: var(--navy-700);
}
.event-status-badge--cancelled {
  background: #c1374b;
  color: var(--paper);
}

/* Past / cancelled card treatment */

.event-card--past {
  opacity: 0.78;
}
.event-card--past .event-card-date {
  background: var(--muted);
}
.event-card--past .event-card-date-month,
.event-card--past .event-card-date::after {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.5);
}
.event-card--past h3 { color: var(--muted); }

.event-card--cancelled .event-card-date {
  background: #7a1f1f;
}
.event-card--cancelled h3 {
  text-decoration: line-through;
  text-decoration-color: rgba(193, 55, 75, 0.5);
  color: var(--muted);
}
.event-card--cancelled { opacity: 0.85; }

/* Section titles inside the events list (Past, Cancelled) */

.events-section-title {
  margin: 48px 0 20px;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy-900);
  padding-bottom: 12px;
  position: relative;
}

.events-section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 3px;
  background: var(--lime);
}

.events-section-title.events-section-past {
  color: var(--muted);
}
.events-section-title.events-section-past::after {
  background: var(--rule);
}

@media (max-width: 880px) {
  .next-events-carousel { gap: 14px; }
}

/* ---------- Apóyame dialog (modal) ---------- */

.apoyame-dialog {
  width: min(520px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  margin: auto;
  border: none;
  border-radius: 14px;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(8, 26, 58, 0.5);
  overflow: hidden;
}

.apoyame-dialog::backdrop {
  background: rgba(8, 26, 58, 0.7);
  backdrop-filter: blur(3px);
}

.apoyame-dialog[open] {
  animation: apoyame-pop 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes apoyame-pop {
  from { transform: translateY(12px) scale(0.96); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}

/* Navy header band */
.apoyame-dialog-header {
  position: relative;
  background:
    radial-gradient(600px 200px at 100% 0%, rgba(200, 227, 71, 0.18), transparent 60%),
    linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: var(--paper);
  padding: 30px 32px 26px;
  border-bottom: 4px solid var(--lime);
}

.apoyame-dialog-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--lime);
  margin: 0 0 8px;
}

.apoyame-dialog h2 {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--paper);
  margin: 0 0 8px;
  padding-bottom: 0;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.apoyame-dialog h2::after { display: none; }

.apoyame-dialog-lead {
  font-size: 0.9rem;
  color: #c8d0e4;
  margin: 0;
  max-width: 420px;
  line-height: 1.5;
}

.apoyame-dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  cursor: pointer;
  color: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 120ms ease, transform 120ms ease;
  z-index: 2;
}

.apoyame-dialog-close:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: rotate(90deg);
}

.apoyame-dialog-close:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
}

/* White body */
.apoyame-dialog-body {
  padding: 24px 32px 28px;
}

.apoyame-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 26px;
}

.apoyame-option {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--rule);
  border-radius: 10px;
  text-decoration: none;
  color: var(--ink);
  background: var(--paper);
  transition: all 180ms ease;
  position: relative;
}

.apoyame-option::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--lime);
  border-radius: 10px 0 0 10px;
  opacity: 0;
  transition: opacity 180ms ease;
}

.apoyame-option:hover {
  border-color: var(--navy-700);
  background: var(--paper-soft);
  transform: translateX(3px);
  box-shadow: 0 6px 16px rgba(8, 26, 58, 0.08);
}

.apoyame-option:hover::before { opacity: 1; }

.apoyame-option:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
}

.apoyame-option-number {
  font-size: 1.7rem;
  font-weight: 800;
  font-style: italic;
  color: var(--lime);
  line-height: 1;
  letter-spacing: -0.04em;
  min-width: 32px;
  text-shadow: 0 0 0 var(--lime);
}

.apoyame-option-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-900);
  color: var(--lime);
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(8, 26, 58, 0.18);
}

.apoyame-option-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.apoyame-option-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.apoyame-option-desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}

.apoyame-option-arrow {
  color: var(--muted);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1;
  transition: transform 180ms ease, color 180ms ease;
}

.apoyame-option:hover .apoyame-option-arrow {
  color: var(--navy-900);
  transform: translateX(4px);
}

.apoyame-socials-section {
  border-top: 1px solid var(--rule);
  padding-top: 22px;
  text-align: center;
}

.apoyame-socials-label {
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--muted);
  margin: 0 0 14px;
}

.apoyame-socials {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.apoyame-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--navy-700);
  border: 1.5px solid var(--rule);
  background: var(--paper);
  transition: all 180ms ease;
}

.apoyame-socials a:hover {
  background: var(--navy-900);
  color: var(--lime);
  border-color: var(--navy-900);
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(8, 26, 58, 0.2);
}

.apoyame-socials a:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
}

@media (max-width: 540px) {
  .apoyame-dialog-header { padding: 26px 22px 22px; }
  .apoyame-dialog-body { padding: 20px 22px 22px; }
  .apoyame-dialog h2 { font-size: 1.3rem; padding-right: 40px; }
  .apoyame-option { padding: 14px 14px; grid-template-columns: auto auto 1fr; gap: 12px; }
  .apoyame-option-arrow { display: none; }
  .apoyame-option-number { font-size: 1.4rem; min-width: 28px; }
  .apoyame-option-icon { width: 38px; height: 38px; }
}
