/* =========================================================
   MCI Bucaramanga / Capacitación Destino
========================================================= */

:root {
  --bg: #090910;
  --bg-2: #11111b;
  --card: rgba(255, 255, 255, 0.075);
  --card-2: rgba(255, 255, 255, 0.11);
  --white: #ffffff;
  --text: #f6f3ff;
  --muted: #bdb6ce;
  --muted-2: #8f87a2;
  --purple: #7c3aed;
  --purple-2: #a855f7;
  --purple-3: #d8b4fe;
  --pink: #ec4899;
  --blue: #38bdf8;
  --green: #22c55e;
  --border: rgba(255,255,255,.12);
  --border-2: rgba(168,85,247,.42);
  --shadow: 0 30px 90px rgba(0,0,0,.48);
  --glow: 0 0 46px rgba(124,58,237,.36);
  --radius: 28px;
  --radius-sm: 16px;
  --container: 1180px;
  --font-title: "Outfit", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

/* ================= RESET ================= */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(circle at 7% 10%, rgba(124,58,237,.38), transparent 31rem),
    radial-gradient(circle at 90% 10%, rgba(236,72,153,.18), transparent 28rem),
    radial-gradient(circle at 60% 95%, rgba(56,189,248,.10), transparent 34rem),
    var(--bg);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
  z-index: -2;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video {
  max-width: 100%;
  display: block;
}

button {
  font-family: inherit;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin-inline: auto;
}

.page-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: -1;
  opacity: .55;
}

.page-glow-1 {
  width: 340px;
  height: 340px;
  background: var(--purple);
  top: 12%;
  left: -120px;
}

.page-glow-2 {
  width: 300px;
  height: 300px;
  background: var(--pink);
  right: -120px;
  top: 44%;
}

/* ================= NAVBAR ================= */

.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.navbar {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 100;
}

.nav-inner {
  height: 76px;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(15, 15, 25, .74);
  box-shadow: 0 18px 55px rgba(0,0,0,.28);
  backdrop-filter: blur(20px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(168,85,247,.45));
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-copy strong {
  font-family: var(--font-title);
  font-size: 1rem;
  letter-spacing: .04em;
}

.brand-copy span {
  color: var(--muted);
  font-size: .78rem;
}

.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 5px;
  list-style: none;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 800;
  font-size: .88rem;
  transition: .28s ease;
}

.nav-links a:hover {
  color: var(--white);
  background: rgba(255,255,255,.08);
}

.user-box {
  position: relative;
}

.user-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(124,58,237,.28), rgba(255,255,255,.08));
  color: var(--white);
  font-size: 1.45rem;
  cursor: pointer;
  transition: .28s ease;
}

.user-box:hover .user-icon {
  transform: translateY(-2px);
  box-shadow: var(--glow);
  border-color: var(--border-2);
}

.user-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 16px);
  width: min(340px, calc(100vw - 36px));
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(17,17,27,.96);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(.96);
  transition: .28s ease;
}

.user-box:hover .user-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.user-panel-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.avatar {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--purple), var(--purple-2));
  font-size: 1.4rem;
}

.user-panel h4 {
  font-family: var(--font-title);
}

.user-panel p,
.user-row span {
  color: var(--muted);
  font-size: .85rem;
}

.user-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 12px;
  padding: 11px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.045);
}

.logout {
  margin-top: 14px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  border-radius: 14px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--purple), var(--purple-2));
}

.menu-checkbox {
  display: none;
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.07);
  cursor: pointer;
  place-items: center;
  padding: 12px;
}

.menu-button span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 3px auto;
  border-radius: 99px;
  background: var(--white);
  transition: .28s ease;
}

/* ================= HERO ================= */

.hero-grid {
  min-height: 100vh;
  padding: 140px 0 80px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 60px;
}

.label {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  padding: 8px 14px;
  border: 1px solid rgba(168,85,247,.36);
  border-radius: 999px;
  background: rgba(124,58,237,.16);
  color: var(--purple-3);
  font-weight: 900;
  font-size: .76rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-text h1 {
  margin: 22px 0 20px;
  font-family: var(--font-title);
  font-size: clamp(3rem, 8vw, 6.7rem);
  font-weight: 900;
  line-height: .9;
  letter-spacing: -.07em;
}

.hero-text h1 span {
  display: inline-block;
  background: linear-gradient(
    135deg,
    #ffffff 0%,
    #ffffff 25%,
    #2fb7e6 52%,
    #55b747 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(47, 183, 230, 0.22));
}

.hero-text p {
  max-width: 640px;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.85;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.hero-buttons.center {
  justify-content: center;
}

.btn {
  min-height: 52px;
  padding: 0 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 999px;
  font-weight: 900;
  transition: .28s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--purple), var(--purple-2));
  color: white;
  box-shadow: 0 16px 38px rgba(124,58,237,.32);
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 60px rgba(124,58,237,.46);
}

.btn-outline {
  border: 1px solid var(--border);
  background: rgba(255,255,255,.06);
  color: var(--white);
}

.btn-outline:hover {
  transform: translateY(-4px);
  border-color: var(--border-2);
  background: rgba(124,58,237,.15);
}

.mini-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.mini-stats div {
  min-width: 130px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.055);
}

.mini-stats strong {
  display: block;
  font-family: var(--font-title);
  font-size: 1.55rem;
}

.mini-stats span {
  color: var(--muted);
  font-size: .85rem;
}

/* ================= HERO ART ================= */

.hero-art {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
  perspective: 1000px;
}

.phone-card {
  width: min(100%, 440px);
  min-height: 520px;
  padding: 22px;
  border-radius: 42px;
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at 70% 0%, rgba(168,85,247,.28), transparent 16rem),
    linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.035));
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  transform: rotateY(-8deg) rotateX(5deg);
  transition: .35s ease;
  animation: floatPhone 5s ease-in-out infinite;
}

.hero-art:hover .phone-card {
  transform: rotateY(0) rotateX(0) translateY(-6px);
}

@keyframes floatPhone {
  50% { transform: rotateY(-8deg) rotateX(5deg) translateY(-12px); }
}

.phone-top {
  display: flex;
  gap: 8px;
  margin-bottom: 26px;
}

.phone-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.22);
}

.phone-top span:nth-child(1) { background: #f87171; }
.phone-top span:nth-child(2) { background: #fbbf24; }
.phone-top span:nth-child(3) { background: #34d399; }

.cd-card {
  display: grid;
  gap: 18px;
  padding: 24px;
  border-radius: 30px;
  background: rgba(255,255,255,.08);
  border: 1px solid var(--border);
}

.cd-card img {
  width: 116px;
  height: 116px;
  object-fit: contain;
  padding: 12px;
  border-radius: 28px;
  background: white;
}

.cd-card h2 {
  font-family: var(--font-title);
  font-size: 2.2rem;
  line-height: .95;
}

.cd-card p {
  color: var(--muted);
}

.progress-box {
  margin-top: 22px;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.06);
}

.progress-box > div:first-child {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: .9rem;
}

.progress-box strong {
  color: var(--purple-3);
}

.bar {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
}

.bar span {
  display: block;
  width: 78%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--purple), var(--purple-2), var(--pink));
  animation: bar 2s ease infinite alternate;
}

@keyframes bar {
  from { width: 40%; }
  to { width: 86%; }
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.chips span,
.float-card {
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.075);
  color: var(--muted);
  font-weight: 800;
  font-size: .82rem;
}

.float-card {
  position: absolute;
  color: white;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  animation: floatCard 4s ease-in-out infinite;
}

.float-1 {
  top: 85px;
  left: 0;
}

.float-2 {
  right: 8px;
  top: 190px;
  animation-delay: .8s;
}

.float-3 {
  left: 28px;
  bottom: 90px;
  animation-delay: 1.4s;
}

@keyframes floatCard {
  50% { transform: translateY(-12px); }
}

/* ================= SECCIONES ================= */

.section {
  padding: 90px 0;
  position: relative;
}

.section:nth-of-type(even) {
  background: rgba(255,255,255,.025);
}

.section-title {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 42px;
}

.section-title .label {
  margin-inline: auto;
}

.section-title h2,
.event-info h2,
.about-text h2,
.final-card h2 {
  margin-top: 18px;
  font-family: var(--font-title);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.section-title p,
.event-info p,
.about-text p,
.final-card p {
  color: var(--muted);
  margin-top: 14px;
  line-height: 1.8;
}

/* ================= QUICK ================= */

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.quick-card,
.social-card,
.route,
.about-mini {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.04));
  border-radius: var(--radius);
  transition: .3s ease;
}

.quick-card::before,
.social-card::before,
.route::before,
.about-mini::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(168,85,247,.20), transparent 50%);
  opacity: 0;
  transition: .3s ease;
}

.quick-card:hover,
.social-card:hover,
.route:hover,
.about-mini:hover {
  transform: translateY(-8px);
  border-color: var(--border-2);
  box-shadow: var(--glow);
}

.quick-card:hover::before,
.social-card:hover::before,
.route:hover::before,
.about-mini:hover::before {
  opacity: 1;
}

.quick-card {
  min-height: 270px;
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.quick-card > * {
  position: relative;
}

.quick-card i,
.quick-card img {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  margin-bottom: 22px;
}

.quick-card i {
  background: linear-gradient(135deg, var(--purple), var(--purple-2));
  font-size: 1.7rem;
}

.quick-card img {
  object-fit: contain;
  padding: 8px;
  background: white;
}

.quick-card h3,
.social-card h3,
.route h3,
.about-mini h3 {
  font-family: var(--font-title);
  color: white;
}

.quick-card p {
  margin-top: 8px;
  color: var(--muted);
}

.quick-card span {
  margin-top: auto;
  color: var(--purple-3);
  font-weight: 900;
}

/* ================= EVENT ================= */

.event-card {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  overflow: hidden;
  border-radius: 38px;
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at 10% 10%, rgba(236,72,153,.16), transparent 26rem),
    linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.035));
  box-shadow: var(--shadow);
}

.event-img {
  min-height: 360px;
  background: rgba(255,255,255,.05);
}

.event-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .4s ease;
}

.event-card:hover .event-img img {
  transform: scale(1.05);
}

.event-info {
  padding: clamp(30px, 5vw, 60px);
  align-self: center;
}

/* ================= SOCIAL ================= */

.social-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.social-card {
  min-height: 250px;
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.social-card > * {
  position: relative;
}

.social-card i {
  font-size: 2rem;
  margin-bottom: 22px;
}

.social-card p {
  color: var(--muted);
  margin-top: 8px;
}

.social-card span {
  margin-top: auto;
  font-weight: 900;
}

.social-card.instagram i { color: #f472b6; }
.social-card.facebook i { color: #60a5fa; }
.social-card.youtube i { color: #f87171; }

/* ================= ROUTES ================= */

.routes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.route {
  min-height: 132px;
  padding: 18px;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  align-items: center;
}

.route > * {
  position: relative;
}

.route img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  padding: 10px;
  border-radius: 22px;
  background: white;
}

.route span {
  color: var(--purple-3);
  font-weight: 900;
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.route h3 {
  margin-top: 4px;
}

.route a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  color: white;
  font-weight: 900;
  transition: .28s ease;
}

.route a:hover {
  color: var(--purple-3);
  gap: 12px;
}

.route-featured {
  border-color: rgba(168,85,247,.55);
  background:
    radial-gradient(circle at right top, rgba(168,85,247,.22), transparent 50%),
    linear-gradient(135deg, rgba(124,58,237,.18), rgba(255,255,255,.05));
}

/* ================= ABOUT ================= */

.about-section {
  background: rgba(255,255,255,.025);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 56px;
  align-items: center;
}

.about-text .btn {
  margin-top: 26px;
}

.about-cards {
  display: grid;
  gap: 18px;
}

.about-mini {
  padding: 24px;
  display: flex;
  gap: 18px;
  align-items: center;
}

.about-mini i {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--purple), var(--purple-2));
  display: grid;
  place-items: center;
  font-size: 1.55rem;
  flex: 0 0 auto;
}

.about-mini div {
  position: relative;
}

.about-mini p {
  color: var(--muted);
  margin-top: 3px;
}

/* ================= VIDEOS ================= */

.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.videos-grid video {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: .3s ease;
}

.videos-grid video:hover {
  transform: translateY(-8px) scale(1.015);
  border-color: var(--border-2);
}

/* ================= FINAL ================= */

.final-card {
  text-align: center;
  padding: clamp(34px, 7vw, 78px);
  border-radius: 42px;
  border: 1px solid rgba(168,85,247,.40);
  background:
    radial-gradient(circle at top left, rgba(124,58,237,.32), transparent 34rem),
    radial-gradient(circle at bottom right, rgba(236,72,153,.14), transparent 26rem),
    linear-gradient(135deg, rgba(255,255,255,.11), rgba(255,255,255,.04));
  box-shadow: var(--shadow);
}

.final-card .label {
  margin-inline: auto;
}

/* ================= FOOTER ================= */

.footer {
  padding: 72px 0 28px;
  background: #050508;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 36px;
}

.footer img {
  width: 74px;
  margin-bottom: 18px;
}

.footer h3,
.footer h4 {
  font-family: var(--font-title);
}

.footer p,
.footer a,
.footer-bottom p {
  color: var(--muted);
}

.footer a {
  display: block;
  margin-top: 10px;
  transition: .25s ease;
}

.footer a:hover {
  color: var(--purple-3);
}

.footer-bottom {
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-bottom div {
  display: flex;
  gap: 10px;
}

.footer-bottom a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin: 0;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.06);
}

.footer-bottom a:hover {
  background: var(--purple);
  color: white;
  transform: translateY(-3px);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1050px) {
  .hero-grid,
  .event-card,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero-art {
    min-height: 480px;
  }

  .quick-grid,
  .routes-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .social-grid,
  .videos-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 800px) {
  .navbar {
    top: 10px;
  }

  .nav-inner {
    border-radius: 24px;
  }

  .brand-copy {
    display: none;
  }

  .menu-button {
    display: grid;
    margin-left: auto;
  }

  .nav-links {
    position: fixed;
    top: 96px;
    left: 16px;
    right: 16px;
    display: grid;
    gap: 8px;
    padding: 16px;
    border-radius: 24px;
    border: 1px solid var(--border);
    background: rgba(15,15,25,.96);
    box-shadow: var(--shadow);
    backdrop-filter: blur(22px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-16px);
    transition: .28s ease;
  }

  .nav-links a {
    width: 100%;
    justify-content: center;
  }

  .menu-checkbox:checked ~ .nav-links {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .menu-checkbox:checked + .menu-button span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-checkbox:checked + .menu-button span:nth-child(2) {
    opacity: 0;
  }

  .menu-checkbox:checked + .menu-button span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .user-box {
    order: 4;
  }

  .hero-grid {
    padding-top: 128px;
    gap: 26px;
  }

  .hero-text h1 {
    font-size: clamp(2.7rem, 14vw, 4.4rem);
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .mini-stats {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-art {
    min-height: auto;
  }

  .phone-card {
    transform: none;
    min-height: auto;
  }

  .float-card {
    display: none;
  }

  .quick-grid,
  .routes-grid {
    grid-template-columns: 1fr;
  }

  .event-img {
    min-height: 260px;
  }

  .section {
    padding: 70px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 460px) {
  .container {
    width: min(100% - 22px, var(--container));
  }

  .nav-inner {
    padding: 0 12px;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .user-icon,
  .menu-button {
    width: 42px;
    height: 42px;
  }

  .route {
    grid-template-columns: 76px 1fr;
  }

  .route img {
    width: 76px;
    height: 76px;
  }

  .cd-card h2 {
    font-size: 1.75rem;
  }
}
/* Correo bonito dentro del panel de usuario */
.user-row-email {
  align-items: center;
  gap: 12px;
}

.user-row-email span {
  flex: 0 0 auto;
}

.email-short {
  display: block;
  max-width: 165px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  text-align: right;
  font-size: 0.86rem;
  line-height: 1.2;
}






/* ================= CTA FINAL CHARLAS ================= */

.charlas-cta {
  position: relative;
  overflow: hidden;
}

.charlas-final-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  padding: clamp(34px, 7vw, 78px);
  border-radius: 42px;

  /* Bordes blancos/translúcidos como la estética original */
  border: 1px solid var(--border);

  /* Fondo transparente/morado como la imagen 2 */
  background:
    radial-gradient(circle at 70% 0%, rgba(168,85,247,.25), transparent 20rem),
    radial-gradient(circle at 10% 10%, rgba(255,255,255,.07), transparent 18rem),
    radial-gradient(circle at 92% 85%, rgba(236,72,153,.12), transparent 26rem),
    linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.035));

  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
}

.charlas-final-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.16),
    transparent
  );
  transform: translateX(-100%);
  animation: ctaLight 5s infinite;
  pointer-events: none;
}

@keyframes ctaLight {
  0% {
    transform: translateX(-100%);
  }

  45%,
  100% {
    transform: translateX(100%);
  }
}

.charlas-copy {
  position: relative;
  z-index: 2;
}

/* Label vuelve a la estética blanca/morada */
.charlas-copy .label {
  gap: 0.45rem;
  margin-bottom: 0;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.075);
  color: var(--purple-3);
}

.charlas-copy h2 {
  margin-top: 18px;
  margin-bottom: 24px;
  font-family: var(--font-title);
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 1.14;
  letter-spacing: -.04em;
  color: var(--white);
  overflow: visible;
  padding-bottom: 8px;
}

/* Texto normal blanco */
.charlas-copy h2 .charlas-white {
  display: inline;
  color: var(--white);
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  filter: none;
}

/* Solo "conferencias" con degradado tipo convención */
.charlas-copy h2 .charlas-gradient {
  display: inline;
  background: linear-gradient(
    120deg,
    #fff8dc 0%,
    #fff0b3 10%,
    #ffe66b 22%,
    #ffc247 36%,
    #ff993f 51%,
    #ff7038 66%,
    #f04438 82%,
    #e11d2e 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: none;
}

.charlas-copy p {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.85;
  margin-bottom: 1.1rem;
}

.charlas-subtext {
  color: rgba(255,255,255,.68) !important;
  font-size: .98rem !important;
}

.charlas-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.6rem;
  margin-bottom: 2rem;
}

/* Chips con borde blanco/transparente */
.charlas-tags span {
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.075);
  border: 1px solid var(--border);
  color: rgba(255,255,255,0.86);
  font-size: 0.9rem;
  font-weight: 800;
}

.charlas-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* Botón lo dejo como te gustó */
.btn-charlas-main {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    #fff0b3 0%,
    #ffd84d 18%,
    #ff9f43 42%,
    #ff5a36 68%,
    #e11d2e 100%
  ) !important;
  color: #1b0b0b !important;
  border: none !important;
  box-shadow: 0 18px 45px rgba(239, 59, 52, 0.35);
}

.btn-charlas-main i {
  color: #1b0b0b;
}

.btn-charlas-main::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.34),
    transparent
  );
  transform: translateX(-120%);
  transition: 0.55s ease;
}

.btn-charlas-main:hover::after {
  transform: translateX(120%);
}

.charlas-visual {
  position: relative;
  min-height: 430px;
  z-index: 2;
}

.charla-poster {
  position: absolute;
  width: min(260px, 62vw);
  aspect-ratio: 9 / 12;
  border-radius: 28px;
  overflow: hidden;

  /* Bordes blancos como la estética original */
  border: 1px solid var(--border);

  box-shadow: 0 28px 80px rgba(0,0,0,0.45);
  background: rgba(255,255,255,0.08);
}

.charla-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.charla-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.50), transparent 55%);
}

.charla-poster-1 {
  right: 16%;
  top: 6%;
  transform: rotate(7deg);
  animation: floatPoster1 5s ease-in-out infinite;
  z-index: 3;
}

.charla-poster-2 {
  left: 6%;
  top: 18%;
  transform: rotate(-9deg) scale(0.92);
  animation: floatPoster2 5.8s ease-in-out infinite;
  z-index: 2;
}

.charla-poster-3 {
  right: 2%;
  bottom: 0;
  transform: rotate(13deg) scale(0.86);
  animation: floatPoster3 6.2s ease-in-out infinite;
  z-index: 1;
}

@keyframes floatPoster1 {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -14px;
  }
}

@keyframes floatPoster2 {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: -8px 12px;
  }
}

@keyframes floatPoster3 {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 10px -10px;
  }
}

/* Glow vuelve al morado/rosado de la página */
.charlas-glow {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  right: 18%;
  top: 22%;
  background: rgba(168, 85, 247, 0.42);
  filter: blur(70px);
  z-index: 0;
}

/* Badge con borde blanco/transparente */
.charlas-badge {
  position: absolute;
  left: 50%;
  bottom: 2.5rem;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  background: rgba(15, 15, 25, 0.78);
  border: 1px solid var(--border);
  color: #fff;
  box-shadow: 0 20px 50px rgba(0,0,0,0.38);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  white-space: nowrap;
  font-weight: 800;
}

.charlas-badge i {
  color: var(--purple-3);
}

/* ================= RESPONSIVE CTA CHARLAS ================= */

@media (max-width: 900px) {
  .charlas-final-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .charlas-copy p {
    margin-left: auto;
    margin-right: auto;
  }

  .charlas-tags,
  .charlas-buttons {
    justify-content: center;
  }

  .charlas-copy h2 {
    font-size: clamp(2.2rem, 9vw, 4rem);
    line-height: 1.16;
    letter-spacing: -.035em;
  }

  .charlas-visual {
    min-height: 380px;
    margin-top: 1rem;
  }

  .charla-poster {
    width: min(220px, 54vw);
  }

  .charla-poster-1 {
    right: 19%;
  }

  .charla-poster-2 {
    left: 10%;
  }

  .charla-poster-3 {
    right: 8%;
  }
}

@media (max-width: 560px) {
  .charlas-final-card {
    padding: 2rem 1.1rem;
    border-radius: 28px;
  }

  .charlas-copy h2 {
    font-size: clamp(2.1rem, 13vw, 3.35rem);
    line-height: 1.18;
    letter-spacing: -.025em;
    margin-bottom: 20px;
    padding-bottom: 10px;
  }

  .charlas-copy p {
    font-size: 0.98rem;
    line-height: 1.75;
  }

  .charlas-tags {
    gap: 0.55rem;
  }

  .charlas-tags span {
    font-size: 0.78rem;
    padding: 0.55rem 0.75rem;
  }

  .charlas-visual {
    min-height: 330px;
  }

  .charla-poster {
    width: 170px;
    border-radius: 22px;
  }

  .charla-poster-1 {
    right: 18%;
    top: 4%;
  }

  .charla-poster-2 {
    left: 3%;
    top: 22%;
  }

  .charla-poster-3 {
    right: 2%;
    bottom: 8%;
  }

  .charlas-badge {
    bottom: 0.8rem;
    font-size: 0.82rem;
    padding: 0.75rem 0.85rem;
  }
}

