/* ============================================================
   Whip Solutions — sistema de diseño compartido (páginas internas)
   Coherente con el home (index.html): negro + morado, Montserrat/Roboto
   ============================================================ */

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

:root {
  --purple: #7B5EE8;
  --purple-2: #9d7ef5;
  --purple-dim: rgba(123, 94, 232, 0.25);
  --white: #ffffff;
  --grey: rgba(255,255,255,0.55);
  --bg: #000000;
  --card: rgba(18, 14, 40, 0.72);
  --border: rgba(150,130,255,0.22);
  --nav-h: 80px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

/* ── Fondo con orbes suaves ─────────────────── */
#bg-orbs { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); }
.orb-1 { width: 500px; height: 500px; background: radial-gradient(circle, rgba(123,94,232,0.18) 0%, transparent 70%); top: -100px; left: -150px; opacity: 0.7; }
.orb-2 { width: 400px; height: 400px; background: radial-gradient(circle, rgba(100,60,200,0.12) 0%, transparent 70%); top: 45%; right: -100px; opacity: 0.5; }
.orb-3 { width: 300px; height: 300px; background: radial-gradient(circle, rgba(80,40,180,0.10) 0%, transparent 70%); bottom: 12%; left: 18%; opacity: 0.4; }

/* ── Contenedor / utilidades ────────────────── */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
main { position: relative; z-index: 1; }
.hl { color: var(--purple); }
.section { padding: 100px 0; position: relative; z-index: 1; }
.section-sm { padding: 64px 0; }

/* ── NAVBAR ─────────────────────────────────── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 56px; height: var(--nav-h);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
  background: rgba(0,0,0,0.72);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.nav-logo-img { height: 56px; width: auto; display: block; }
.nav-links {
  display: flex; align-items: center; justify-content: flex-end;
  gap: 34px; padding-right: 8px; list-style: none;
}
.nav-links a {
  font-size: 16px; font-weight: 400; color: rgba(255,255,255,0.82);
  text-decoration: none; letter-spacing: 0.01em; transition: color 0.2s;
  white-space: nowrap; display: flex; align-items: center; gap: 4px;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; }
.nav-links .has-arrow::after { content: '▾'; font-size: 10px; opacity: 0.7; }
.nav-cta {
  font-size: 14px; font-weight: 500; color: var(--white); text-decoration: none;
  border: 1.5px solid rgba(255,255,255,0.65); border-radius: 50px; padding: 9px 26px;
  transition: background 0.25s, border-color 0.25s; white-space: nowrap; justify-self: end;
}
.nav-cta:hover { background: rgba(255,255,255,0.08); border-color: #fff; }
.nav-hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px; z-index: 1001;
}
.nav-hamburger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Headings ───────────────────────────────── */
.eyebrow {
  font-size: clamp(11px, 1.3vw, 13px); color: var(--grey);
  letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 14px;
}
.section-title {
  font-size: clamp(28px, 4vw, 48px); font-weight: 800; line-height: 1.08;
  letter-spacing: -0.01em; color: #fff; text-transform: uppercase;
}
.section-lead { font-size: clamp(15px, 1.6vw, 19px); line-height: 1.75; color: var(--grey); max-width: 720px; }

/* ── Botones ────────────────────────────────── */
.btn {
  display: inline-block; font-family: 'Montserrat', sans-serif; font-size: 15px; font-weight: 600;
  color: #fff; text-decoration: none; border-radius: 50px; padding: 14px 32px; cursor: pointer;
  border: 1.5px solid rgba(255,255,255,0.65); background: transparent;
  transition: background 0.25s, border-color 0.25s, transform 0.2s;
}
.btn:hover { background: rgba(255,255,255,0.08); border-color: #fff; transform: translateY(-2px); }
.btn-primary {
  border: none; background: linear-gradient(135deg, #7B5EE8 0%, #9d7ef5 100%);
  box-shadow: 0 8px 32px rgba(123,94,232,0.35); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(123,94,232,0.5); background: linear-gradient(135deg, #7B5EE8 0%, #9d7ef5 100%); }

/* ── Formulario ─────────────────────────────── */
.contact-form { display: flex; flex-direction: column; gap: 16px; max-width: 760px; margin: 0 auto; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(123,94,232,0.22); border-radius: 10px;
  padding: 16px 20px; font-family: 'Montserrat', sans-serif; font-size: 14px; color: #fff;
  outline: none; transition: border-color 0.25s, background 0.25s; width: 100%;
}
.form-field::placeholder { color: rgba(255,255,255,0.35); }
.form-field:focus { border-color: rgba(123,94,232,0.65); background: rgba(123,94,232,0.07); }
textarea.form-field { resize: vertical; min-height: 130px; }

/* ── Tarjetas ───────────────────────────────── */
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 28px;
  box-shadow: 0 16px 50px rgba(0,0,0,0.35);
}

/* ── Reveal en scroll ───────────────────────── */
[data-reveal] {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.45s cubic-bezier(0.22,1,0.36,1), transform 0.45s cubic-bezier(0.22,1,0.36,1);
  will-change: opacity, transform;
}
[data-reveal].revealed { opacity: 1; transform: translateY(0); }

/* ── FOOTER ─────────────────────────────────── */
#site-footer {
  position: relative; z-index: 1;
  background: linear-gradient(120deg, #241f4d 0%, #3a2f72 55%, #4d3fa0 100%);
  border-top: 1px solid rgba(255,255,255,0.10);
  padding: 34px 56px 28px; display: flex; align-items: center; justify-content: center;
  gap: 70px; flex-wrap: wrap;
}
.footer-brand { display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 260px; text-align: center; }
.footer-logo-img { height: 46px; width: auto; }
.footer-address { font-size: 12px; line-height: 1.65; color: rgba(255,255,255,0.80); }
.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-col h4 { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.footer-col a { font-size: 13px; color: rgba(255,255,255,0.82); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-social { display: flex; gap: 18px; align-items: center; }
.footer-social a { color: rgba(255,255,255,0.55); display: flex; align-items: center; transition: color 0.2s, transform 0.2s; }
.footer-social a:hover { color: #fff; transform: scale(1.15); }
.social-icon { width: 22px; height: 22px; fill: currentColor; }

/* ── Banner de cookies ──────────────────────── */
#cookie-banner {
  position: fixed; left: 24px; right: 24px; bottom: 24px; z-index: 2000; max-width: 640px; margin: 0 auto;
  background: rgba(18,14,40,0.96); border: 1px solid var(--border); border-radius: 14px;
  padding: 18px 20px; display: none; gap: 16px; align-items: center; flex-wrap: wrap;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
#cookie-banner.show { display: flex; }
#cookie-banner p { font-size: 13px; color: rgba(255,255,255,0.75); flex: 1 1 260px; line-height: 1.5; }
#cookie-banner .btn { padding: 10px 22px; font-size: 13px; }

/* ── RESPONSIVE ─────────────────────────────── */
@media (max-width: 900px) { .form-row { grid-template-columns: 1fr; } }

@media (max-width: 768px) {
  #navbar { padding: 0 20px; height: 60px; }
  .nav-logo-img { height: 42px; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; margin-left: auto; }
  .nav-links {
    position: fixed; inset: 0; top: 60px; display: none; flex-direction: column;
    align-items: center; justify-content: center; gap: 36px; padding: 0;
    background: rgba(0,0,0,0.97); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 22px; font-weight: 600; }
  .section { padding: 72px 0; }
  #site-footer { flex-direction: column; text-align: center; padding: 30px 24px 26px; gap: 26px; }
  .footer-col { align-items: center; }
}

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

/* ── Sección "Zonas de impacto" (mapa) ──────── */
.impact-map {
  position: relative;
  margin-top: 40px;
  height: clamp(300px, 46vw, 520px);
  border-radius: 22px;
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at 38% 42%, rgba(123,94,232,0.18) 0%, transparent 55%),
    radial-gradient(rgba(150,130,255,0.16) 1px, transparent 1.4px) 0 0 / 22px 22px,
    rgba(10, 8, 24, 0.6);
  overflow: hidden;
}
.impact-glow {
  position: absolute; left: 40%; top: 45%; width: 46%; height: 60%;
  transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(123,94,232,0.35) 0%, transparent 70%);
  filter: blur(30px); pointer-events: none;
}
.impact-points { list-style: none; position: absolute; inset: 0; }
.impact-point {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: 10px;
}
.impact-point::before {
  content: ''; width: 14px; height: 14px; border-radius: 50%;
  background: var(--purple-2);
  box-shadow: 0 0 0 6px rgba(123,94,232,0.25), 0 0 22px rgba(123,94,232,0.9);
  animation: impactPulse 2.4s ease-in-out infinite;
}
.impact-point span {
  font-size: clamp(12px, 1.4vw, 15px); font-weight: 700; color: #fff;
  text-shadow: 0 1px 8px rgba(0,0,0,0.7); letter-spacing: 0.02em;
}
@keyframes impactPulse {
  0%, 100% { box-shadow: 0 0 0 5px rgba(123,94,232,0.20), 0 0 18px rgba(123,94,232,0.7); }
  50%       { box-shadow: 0 0 0 10px rgba(123,94,232,0.10), 0 0 30px rgba(123,94,232,1); }
}
@media (prefers-reduced-motion: reduce) {
  .impact-point::before { animation: none; }
}

/* ── Sección Misión / Filosofía / Propósito / Creencias ── */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}
.mv-col { display: flex; flex-direction: column; gap: clamp(36px, 6vh, 72px); }
.mv-col-left  { text-align: right; }
.mv-col-right { text-align: left; }

.mv-block { position: relative; padding-top: 18px; }
.mv-block::before {
  content: ''; position: absolute; top: 0; height: 1px; width: 78%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55), rgba(255,255,255,0.05));
}
.mv-col-left .mv-block::before  { right: 0; background: linear-gradient(90deg, rgba(255,255,255,0.05), rgba(255,255,255,0.55)); }
.mv-col-right .mv-block::before { left: 0; }
.mv-label {
  font-size: clamp(20px, 2.4vw, 30px); font-weight: 800; color: var(--purple);
  letter-spacing: 0.01em; margin-bottom: 12px;
}
.mv-block p { font-size: clamp(14px, 1.5vw, 17px); line-height: 1.6; color: rgba(255,255,255,0.72); }
.mv-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.mv-list li { position: relative; padding-left: 18px; font-size: clamp(14px, 1.5vw, 17px); color: rgba(255,255,255,0.78); }
.mv-list li::before { content: ''; position: absolute; left: 0; top: 0.62em; width: 7px; height: 7px; border-radius: 50%; background: var(--purple-2); box-shadow: 0 0 10px rgba(123,94,232,0.8); }

/* Entrada animada desde los lados */
[data-reveal].mv-left  { transform: translateX(-44px); }
[data-reveal].mv-right { transform: translateX(44px); }
[data-reveal].mv-left.revealed,
[data-reveal].mv-right.revealed { transform: none; }

/* Imagen central circular con anillo giratorio + orbe */
.mv-center { position: relative; display: flex; align-items: center; justify-content: center; padding: 30px; }
.mv-center::before {
  content: ''; position: absolute; width: calc(100% - 8px); height: calc(100% - 8px);
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent, rgba(123,94,232,0.85), transparent 40%, rgba(157,126,245,0.7), transparent 75%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  animation: mvRingSpin 9s linear infinite;
  pointer-events: none;
}
.mv-photo {
  position: relative; z-index: 1;
  width: clamp(240px, 30vw, 400px); aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  border: 1px solid rgba(150,130,255,0.35);
  box-shadow: 0 0 60px rgba(123,94,232,0.35), inset 0 0 40px rgba(0,0,0,0.6);
}
.mv-photo img { width: 100%; height: 100%; object-fit: cover; }
@keyframes mvRingSpin { to { transform: rotate(360deg); } }

/* Entrada animada de la imagen central (escala + desvanecido) */
[data-reveal].mv-center { transform: scale(0.82); }
[data-reveal].mv-center.revealed { transform: scale(1); }
/* entrada un poco más suave para toda la sección */
.mv-section [data-reveal] { transition-duration: 0.62s; }

@media (prefers-reduced-motion: reduce) {
  .mv-center::before { animation: none; }
}

@media (max-width: 860px) {
  .mv-grid { grid-template-columns: 1fr; gap: 40px; justify-items: center; }
  .mv-col { order: 2; width: 100%; max-width: 440px; }
  .mv-col-left, .mv-col-right { text-align: center; }
  .mv-col-left .mv-block::before,
  .mv-col-right .mv-block::before { left: 50%; right: auto; transform: translateX(-50%); width: 60%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent); }
  .mv-center { order: 1; }
  .mv-list { align-items: center; }
  .mv-list li { padding-left: 0; padding-top: 2px; }
  .mv-list li::before { position: static; display: inline-block; margin-right: 8px; }
}

/* ============================================================
   Plantilla de landing de PARTNER / SOLUCIÓN
   ============================================================ */
/* ── HERO = BANNER DE VIDEO (sin texto encima) ── */
.partner-hero {
  min-height: clamp(340px, 54vh, 600px);
  position: relative;
  overflow: hidden;
}
.partner-hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0; pointer-events: none;
}
.partner-hero-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.15) 45%, rgba(0,0,0,0.75) 85%, #000 100%),
    radial-gradient(ellipse at 50% 40%, rgba(123,94,232,0.14) 0%, transparent 65%);
}

/* ── INTRO DE MARCA (logo completo + texto, debajo del video) ── */
.brand-intro { text-align: center; position: relative; z-index: 1; }
.brand-intro .brand-logo-full {
  max-width: min(520px, 76vw); width: auto; height: auto; max-height: 92px;
  margin: 0 auto 34px; display: block; object-fit: contain;
  filter: drop-shadow(0 8px 28px rgba(123,94,232,0.4));
}
.brand-intro .section-title { text-transform: none; }
.brand-intro .section-lead { margin: 22px auto 34px; }
@media (max-width: 640px) {
  .brand-intro .brand-logo-full { max-height: 60px; margin-bottom: 26px; }
}

/* chips (listas de capacidades) */
.chip-list { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }
.chip {
  font-size: 14px; font-weight: 600; color: #fff; padding: 10px 20px; border-radius: 40px;
  background: rgba(123,94,232,0.12); border: 1px solid rgba(123,94,232,0.4);
}

/* grid de tarjetas de features / "¿por qué?" */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; margin-top: 44px; }
.feature-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 30px 28px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover { transform: translateY(-4px); border-color: rgba(180,150,255,0.5); box-shadow: 0 18px 50px rgba(0,0,0,0.4); }
.feature-card h3 { font-size: clamp(17px, 1.8vw, 21px); font-weight: 800; color: var(--purple); margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.02em; }
.feature-card p { font-size: 15px; line-height: 1.7; color: rgba(255,255,255,0.7); }

/* dos columnas texto */
.two-col { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.two-col .section-lead { margin-top: 16px; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 28px; } }

/* banda CTA */
.cta-band {
  text-align: center; border-radius: 24px; padding: 56px 32px; margin-top: 20px;
  background: radial-gradient(ellipse at 50% 0%, rgba(123,94,232,0.22) 0%, transparent 70%), var(--card);
  border: 1px solid var(--border);
}
.cta-band h2 { font-size: clamp(24px, 3.2vw, 38px); font-weight: 800; color: #fff; margin-bottom: 14px; }
.cta-band p { color: var(--grey); max-width: 560px; margin: 0 auto 28px; font-size: 16px; line-height: 1.6; }

/* ============================================================
   Páginas institucionales: resellers, eventos, blog, novedades, legales
   ============================================================ */

/* ── Grid de beneficios (resellers) ── */
.benefit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 40px; }
.benefit-item {
  display: flex; align-items: flex-start; gap: 14px; padding: 20px 22px;
  background: var(--card); border: 1px solid var(--border); border-radius: 14px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.benefit-item:hover { transform: translateY(-3px); border-color: rgba(180,150,255,0.5); }
.benefit-item::before {
  content: ''; flex: 0 0 auto; width: 10px; height: 10px; margin-top: 6px; border-radius: 50%;
  background: var(--purple-2); box-shadow: 0 0 12px rgba(123,94,232,0.9);
}
.benefit-item p { font-size: 15px; line-height: 1.55; color: rgba(255,255,255,0.82); }

/* ── Grid / tarjetas de eventos ── */
.event-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(440px, 100%), 1fr)); gap: 26px; margin-top: 48px; }

/* ── Tarjeta de evento con giro horizontal (flip) ── */
/* Proporción del flyer (1536×805 ≈ 1.9:1) para mostrar la imagen completa sin recortar */
.event-card {
  background: none; border: none; box-shadow: none; padding: 0;
  perspective: 1800px;
  aspect-ratio: 1536 / 805;
  cursor: pointer;
}
.event-card-inner {
  position: relative; width: 100%; height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.75s cubic-bezier(.2,.7,.15,1);
}
.event-card:hover .event-card-inner,
.event-card:focus-within .event-card-inner,
.event-card.flipped .event-card-inner { transform: rotateY(180deg); }

.event-card-face {
  position: absolute; inset: 0;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  border-radius: 18px; overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 16px 50px rgba(0,0,0,0.35);
}

/* Frente: la imagen del evento completa (sin recorte) + chip "Ver detalles" */
.event-card-front {
  display: flex; align-items: flex-end; justify-content: flex-end;
  background-size: cover; background-position: center; background-color: #0a0618;
}
.event-front-hint {
  margin: 14px; padding: 8px 14px; border-radius: 30px;
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.02em; color: #fff;
  background: rgba(10,6,24,0.68); border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; transform: translateY(6px); transition: opacity 0.3s ease, transform 0.3s ease;
}
.event-card:hover .event-front-hint,
.event-card:focus-within .event-front-hint { opacity: 1; transform: translateY(0); }
.event-front-hint::after {
  content: '⟳'; font-size: 15px; transition: transform 0.4s ease;
}
.event-card:hover .event-front-hint::after { transform: rotate(180deg); }
@media (hover: none) { .event-front-hint { opacity: 1; transform: none; } }

/* Reverso: la vista actual (detalles) */
.event-card-back {
  transform: rotateY(180deg);
  background: var(--card);
  display: flex; flex-direction: column; gap: 12px; padding: 22px 26px;
  overflow-y: auto;
}
.event-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.event-tag {
  font-size: 12px; font-weight: 600; letter-spacing: 0.03em; color: var(--purple-2);
  background: rgba(123,94,232,0.12); border: 1px solid rgba(123,94,232,0.35);
  padding: 5px 12px; border-radius: 30px;
}
.event-card-back h3 { font-size: 18px; font-weight: 700; color: #fff; line-height: 1.25; text-transform: uppercase; letter-spacing: 0.01em; }
.event-card-back p { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.7); flex: 1; }
.event-place { font-size: 13px; color: var(--purple-2); font-weight: 600; }
.event-link { font-size: 14px; font-weight: 700; color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; transition: gap 0.2s, color 0.2s; }
.event-link::after { content: '→'; transition: transform 0.2s; }
.event-link:hover { color: var(--purple-2); }
.event-link:hover::after { transform: translateX(4px); }

/* ── Lista de artículos (blog / novedades) ── */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 26px; margin-top: 48px; }
.post-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--card); border: 1px solid var(--border); border-radius: 18px;
  box-shadow: 0 16px 50px rgba(0,0,0,0.35);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.post-card:hover { transform: translateY(-5px); border-color: rgba(180,150,255,0.5); box-shadow: 0 22px 60px rgba(0,0,0,0.45); }
.post-thumb { aspect-ratio: 16 / 9; background: linear-gradient(135deg, #2a2350, #4d3fa0); display: flex; align-items: center; justify-content: center; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-body { display: flex; flex-direction: column; gap: 12px; padding: 26px; flex: 1; }
.post-cat { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--purple-2); }
.post-card h3 { font-size: 18px; font-weight: 700; color: #fff; line-height: 1.3; }
.post-card p { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.7); flex: 1; }
.post-date { font-size: 13px; color: rgba(255,255,255,0.5); }
.post-link { font-size: 14px; font-weight: 700; color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; transition: gap 0.2s, color 0.2s; }
.post-link::after { content: '→'; transition: transform 0.2s; }
.post-link:hover { color: var(--purple-2); }
.post-link:hover::after { transform: translateX(4px); }

/* ── Prosa legal ── */
.legal-hero { padding-top: calc(var(--nav-h) + 80px); padding-bottom: 40px; }
.legal-hero .section-title { text-transform: none; font-size: clamp(24px, 3.4vw, 38px); }
.legal-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 34px 0 0; list-style: none; }
.legal-tab {
  font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.8); cursor: pointer;
  padding: 10px 20px; border-radius: 40px; background: rgba(255,255,255,0.04);
  border: 1px solid var(--border); transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.legal-tab[aria-selected="true"] { background: rgba(123,94,232,0.18); border-color: rgba(123,94,232,0.6); color: #fff; }
.legal-panel { display: none; }
.legal-panel.active { display: block; }
.legal-prose { max-width: 860px; margin: 0 auto; }
.legal-prose h2 { font-size: clamp(19px, 2.2vw, 26px); font-weight: 800; color: #fff; margin: 44px 0 14px; }
.legal-prose h3 { font-size: clamp(16px, 1.8vw, 20px); font-weight: 700; color: var(--purple-2); margin: 30px 0 10px; }
.legal-prose p { font-size: 15px; line-height: 1.8; color: rgba(255,255,255,0.74); margin-bottom: 16px; }
.legal-prose ul { margin: 0 0 18px 0; padding-left: 22px; }
.legal-prose li { font-size: 15px; line-height: 1.75; color: rgba(255,255,255,0.74); margin-bottom: 8px; }
.legal-prose a { color: var(--purple-2); text-decoration: underline; text-underline-offset: 3px; }
.legal-prose strong { color: #fff; }
.legal-note { font-size: 14px; color: var(--grey); margin-top: 28px; font-style: italic; }

/* ── Menú desplegable "Marcas" (se construye desde site.js) ── */
.nav-dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 300px; padding: 12px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  background: rgba(10, 8, 24, 0.98); border: 1px solid var(--border); border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.55);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  opacity: 0; visibility: hidden; transition: opacity 0.2s ease, transform 0.2s ease; z-index: 200;
}
.nav-dropdown:hover > .dropdown-menu,
.nav-dropdown.open > .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(6px); }
.dropdown-menu a {
  font-size: 13px !important; font-weight: 500 !important; color: rgba(255,255,255,0.82);
  padding: 9px 12px; border-radius: 8px; white-space: nowrap; justify-content: flex-start !important;
}
.dropdown-menu a:hover { background: rgba(123,94,232,0.18); color: #fff; }

@media (max-width: 768px) {
  .dropdown-menu {
    position: static; transform: none; opacity: 1; visibility: hidden;
    min-width: 0; width: 100%; max-width: 320px; grid-template-columns: 1fr 1fr;
    background: rgba(255,255,255,0.04); box-shadow: none; margin-top: 14px;
    max-height: 0; padding: 0 12px; overflow: hidden; transition: max-height 0.3s ease, opacity 0.2s ease;
  }
  .nav-dropdown.open > .dropdown-menu { visibility: visible; transform: none; max-height: 60vh; overflow-y: auto; padding: 12px; }
  .dropdown-menu a { font-size: 15px !important; }
}

/* ── Página individual de evento ── */
.event-detail { padding-top: calc(var(--nav-h) + 80px); }
.event-back { font-size: 14px; font-weight: 600; color: var(--purple-2); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; margin-bottom: 22px; }
.event-back::before { content: '←'; }
.event-back:hover { color: #fff; }
.event-detail-grid { display: grid; grid-template-columns: 1.4fr 0.9fr; gap: 40px; align-items: start; margin-top: 28px; }
.event-detail-lead { font-size: clamp(16px, 1.7vw, 20px); line-height: 1.7; color: rgba(255,255,255,0.82); margin-bottom: 18px; }
.event-detail-note { font-size: 15px; line-height: 1.7; color: var(--grey); }
.event-info {
  background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 28px;
  box-shadow: 0 16px 50px rgba(0,0,0,0.35); position: sticky; top: calc(var(--nav-h) + 20px);
}
.event-info h3 { font-size: 14px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--purple-2); margin-bottom: 18px; }
.event-info dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 14px; margin-bottom: 24px; }
.event-info dt { font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 0.03em; }
.event-info dd { font-size: 14px; color: #fff; font-weight: 600; }
.event-info .btn { width: 100%; text-align: center; }
@media (max-width: 860px) {
  .event-detail-grid { grid-template-columns: 1fr; gap: 24px; }
  .event-info { position: static; }
}
