/* ============================================================
   INLOTEXSEG · Feria Laboral — Sistema de diseño (Glass UI)
   Paleta oficial respetada. No modificar los colores de marca.
   ============================================================ */

:root {
  /* Colores de marca */
  --rojo: #E63329;
  --verde: #3CB54A;
  --azul: #2B7DE9;
  --naranja: #F7941D;
  --dark: #0E1320;
  --dark-2: #161D2E;
  --white: #FFFFFF;

  /* Glass */
  --glass-bg: rgba(255, 255, 255, 0.14);
  --glass-bg-strong: rgba(255, 255, 255, 0.22);
  --glass-border: rgba(255, 255, 255, 0.30);
  --glass-shadow: 0 8px 32px rgba(14, 19, 32, 0.25);
  --blur: blur(14px);

  /* Texto */
  --txt: #10182B;
  --txt-soft: #51607a;
  --radius: 20px;
  --radius-sm: 14px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  /* Usa fuentes locales/sistema para que el sitio funcione sin Internet. */
  font-family: "Poppins", "Segoe UI", system-ui, sans-serif;
  color: var(--txt);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background: #0b1020;
}

/* Fondo con manchas de color de marca (deja lucir el glass) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(40% 50% at 12% 18%, rgba(230, 51, 41, .55), transparent 60%),
    radial-gradient(45% 55% at 88% 14%, rgba(43, 125, 233, .55), transparent 60%),
    radial-gradient(50% 55% at 80% 88%, rgba(60, 181, 74, .50), transparent 60%),
    radial-gradient(45% 50% at 18% 90%, rgba(247, 148, 29, .50), transparent 60%),
    linear-gradient(135deg, #0c1326, #131a30 60%, #0c1326);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  backdrop-filter: blur(2px);
  background: rgba(8, 12, 24, .15);
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { width: min(1180px, 92%); margin-inline: auto; }

/* ============================================================
   LOGO (recreado en SVG/CSS — 4 rombos de marca)
   ============================================================ */
.logo { display: flex; align-items: center; gap: 12px; }
.logo__mark { width: 42px; height: 42px; flex: none; object-fit: contain; }
.logo__text { font-weight: 700; font-size: 1.25rem; letter-spacing: .3px; color: var(--white); }
.logo__text b { font-weight: 800; }

/* ============================================================
   HEADER / NAVBAR
   ============================================================ */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 19, 32, .55);
  backdrop-filter: var(--blur);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px;
}
.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  color: rgba(255, 255, 255, .82);
  font-weight: 500; font-size: .92rem;
  position: relative; padding: 6px 2px; transition: color .25s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--rojo), var(--naranja));
  transition: width .3s var(--ease);
}
.nav a:hover { color: #fff; }
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav a.active { color: #fff; }

/* Botón hamburguesa (oculto en escritorio) */
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 42px; height: 42px; padding: 9px; border-radius: 10px;
  flex-direction: column; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; height: 3px; width: 100%; border-radius: 3px; background: #fff; transition: .3s var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============================================================
   BOTONES (didácticos)
   ============================================================ */
.btn {
  --c1: var(--azul); --c2: #1f63c4;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: inherit; font-weight: 600; font-size: 1rem;
  color: #fff; cursor: pointer;
  padding: 13px 26px; border: none; border-radius: 999px;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  box-shadow: 0 8px 20px -6px var(--c1), inset 0 1px 0 rgba(255,255,255,.35);
  transition: transform .2s var(--ease), box-shadow .3s var(--ease), filter .2s var(--ease);
}
.btn:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 14px 28px -8px var(--c1); filter: brightness(1.05); }
.btn:active { transform: translateY(-1px) scale(.99); }
.btn--rojo    { --c1: var(--rojo);    --c2: #b81f17; box-shadow: 0 8px 20px -6px var(--rojo); }
.btn--verde   { --c1: var(--verde);   --c2: #2a9138; box-shadow: 0 8px 20px -6px var(--verde); }
.btn--naranja { --c1: var(--naranja); --c2: #d97706; box-shadow: 0 8px 20px -6px var(--naranja); }
.btn--block   { width: 100%; }
.btn--lg      { padding: 16px 34px; font-size: 1.08rem; }

/* ============================================================
   GLASS CARD
   ============================================================ */
.glass {
  background: var(--glass-bg);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--glass-shadow);
}

/* ============================================================
   TÍTULOS DE SECCIÓN
   ============================================================ */
.page-head { text-align: center; color: #fff; padding: 54px 0 8px; }
.page-head h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; letter-spacing: .5px; }
.page-head p { color: rgba(255,255,255,.78); margin-top: 8px; font-size: 1.05rem; }
.page-head .accent { background: linear-gradient(90deg, var(--naranja), var(--rojo)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ============================================================
   FORMULARIO DE INSCRIPCIÓN (Feria)
   ============================================================ */
.inscribe { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: stretch; margin: 30px 0 70px; }

.flyer { padding: 26px; display: flex; flex-direction: column; gap: 16px; color: #fff; }
.flyer__badge { align-self: flex-start; background: var(--naranja); color: #fff; font-weight: 700; padding: 6px 16px; border-radius: 999px; font-size: .85rem; }
.flyer h2 { font-size: 2.1rem; line-height: 1.05; font-weight: 800; }
.flyer h2 span { color: var(--naranja); }
.flyer__date { display: flex; align-items: baseline; gap: 10px; font-weight: 800; font-size: 2.4rem; }
.flyer__date small { font-size: 1rem; font-weight: 600; opacity: .85; }
.flyer ul li { display: flex; gap: 10px; align-items: center; margin: 7px 0; color: rgba(255,255,255,.9); }
.flyer ul li i { color: var(--verde); font-weight: 700; }

.form-card { padding: 30px 32px; }
.form-card h2 { color: #fff; font-size: 1.8rem; font-weight: 800; margin-bottom: 4px; }
.form-card .sub { color: rgba(255,255,255,.7); margin-bottom: 22px; }

.field { margin-bottom: 16px; }
.field label { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; font-size: .92rem; margin-bottom: 7px; }
.field label .req { color: var(--naranja); }
.field input, .field select {
  width: 100%; font-family: inherit; font-size: .98rem; color: #fff;
  padding: 14px 18px; border-radius: 999px;
  background: rgba(60, 181, 74, .28);
  border: 1.5px solid rgba(255, 255, 255, .35);
  outline: none; transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.field input::placeholder { color: rgba(255,255,255,.7); }
.field input:focus, .field select:focus {
  border-color: #fff;
  background: rgba(60, 181, 74, .45);
  box-shadow: 0 0 0 4px rgba(60, 181, 74, .25);
}
.field select option { color: #10182B; }
.field .error { color: #ffe08a; font-size: .8rem; margin-top: 5px; display: none; padding-left: 16px; }
.field.invalid input, .field.invalid select { border-color: #ffd05b; }
.field.invalid .error { display: block; }

/* Mensaje OK */
.toast {
  position: fixed; top: 90px; right: 24px; z-index: 100;
  background: rgba(60,181,74,.95); color: #fff; font-weight: 600;
  padding: 16px 22px; border-radius: 14px; box-shadow: var(--glass-shadow);
  display: flex; align-items: center; gap: 10px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateX(140%);
  transition: transform .45s var(--ease), opacity .25s var(--ease), visibility .25s var(--ease);
}
.toast.show { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(0); }
.toast--warning { background: rgba(245,158,11,.96); }
.toast--success { background: rgba(60,181,74,.95); }

/* ============================================================
   INDUFORUM — Agenda de ponencias
   ============================================================ */
.stats { text-align: center; color: #fff; margin-bottom: 26px; }
.stats .num { font-size: 2.6rem; font-weight: 800; color: var(--naranja); }

.filters { display: flex; flex-wrap: wrap; gap: 22px; justify-content: center; padding: 18px 22px; margin-bottom: 30px; }
.filter-group { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.filter-group > span { color: rgba(255,255,255,.7); font-weight: 600; font-size: .85rem; }
.chip {
  font-family: inherit; font-weight: 600; font-size: .85rem; color: #fff; cursor: pointer;
  padding: 9px 18px; border-radius: 999px;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.22);
  transition: all .2s var(--ease);
}
.chip:hover { background: rgba(255,255,255,.2); transform: translateY(-2px); }
.chip.active { background: linear-gradient(135deg, var(--azul), #1f63c4); border-color: transparent; box-shadow: 0 6px 16px -6px var(--azul); }

.day-block { margin-bottom: 34px; }
.day-title { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-size: 1.4rem; font-weight: 800; margin-bottom: 16px; }
.day-title .pill { background: var(--azul); color: #fff; border-radius: 14px; padding: 6px 12px; text-align: center; line-height: 1; }
.day-title .pill b { font-size: 1.3rem; display: block; }
.day-title .pill small { font-size: .7rem; text-transform: uppercase; }

.talks { display: grid; gap: 14px; }
.talk {
  display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center;
  padding: 20px 24px; transition: transform .2s var(--ease), box-shadow .3s var(--ease);
  border-left: 5px solid var(--azul);
}
.talk:hover { transform: translateX(6px); box-shadow: 0 12px 30px -10px rgba(0,0,0,.5); }
.talk[data-modalidad="Virtual"]   { border-left-color: var(--verde); }
.talk[data-modalidad="Presencial"]{ border-left-color: var(--naranja); }
.talk h3 { color: #fff; font-size: 1.12rem; font-weight: 700; margin-bottom: 6px; }
.talk .meta { display: flex; flex-wrap: wrap; gap: 14px; color: rgba(255,255,255,.78); font-size: .85rem; }
.talk .meta span { display: inline-flex; align-items: center; gap: 6px; }
.tag { font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.tag.virtual    { background: rgba(60,181,74,.25); color: #b7f5c0; }
.tag.presencial { background: rgba(247,148,29,.25); color: #ffd9a3; }
.talk .full { color: #ffd05b !important; font-weight: 600; }

/* MODAL de inscripción a ponencia */
.modal {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center; padding: 20px;
  background: rgba(6, 10, 20, .6); backdrop-filter: blur(4px);
  opacity: 0; transition: opacity .28s var(--ease);
}
.modal.open { display: flex; opacity: 1; }
.modal__card { width: min(960px, 95%); padding: 24px; color: #fff; animation: pop .35s var(--ease); transform: translateY(12px) scale(.98); transition: transform .28s var(--ease), opacity .25s; position: relative; }
.modal.open .modal__card { transform: translateY(0) scale(1); }
@keyframes pop { from { transform: scale(.95); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal__card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.modal__card .talk-name { color: var(--naranja); font-weight: 600; margin-bottom: 18px; font-size: .95rem; }
.modal__close { position: absolute; right: 12px; top: 12px; width:36px; height:36px; border-radius:999px; background: rgba(255,255,255,.08); color: #fff; border: none; cursor: pointer; }

.modal__media { margin-bottom: 14px; max-height: 520px; overflow: hidden; }
.modal__media img { width:100%; height:auto; max-height: 520px; border-radius:12px; display:block; object-fit: contain; }

.modal__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; display:flex; gap:10px; }
.modal__nav .prev { left: 12px; }
.modal__nav .next { right: 12px; }
.modal__nav button { position: absolute; width:44px; height:44px; border-radius:50%; border:none; background: rgba(255,255,255,.08); color: #fff; cursor:pointer; display:grid; place-items:center; }

.modal__action { display:inline-flex; align-items:center; justify-content:center; margin: 14px 0 10px; padding: 12px 22px; border-radius: 999px; font-weight:700; background: linear-gradient(135deg, var(--rojo), var(--naranja)); color:#fff; text-decoration:none; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.modal__action:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -12px rgba(255,169,110,.55); }
.modal__pager { text-align:center; color: rgba(255,255,255,.75); font-size: .9rem; margin-top:8px; }

.no-results { text-align: center; color: rgba(255,255,255,.7); padding: 40px; font-size: 1.05rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: rgba(8, 12, 22, .75); backdrop-filter: var(--blur); border-top: 1px solid rgba(255,255,255,.08); margin-top: 40px; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 30px; padding: 40px 0; align-items: start; }
.footer .logo__text { font-size: 1.4rem; }
.footer p { color: rgba(255,255,255,.6); font-size: .85rem; margin-top: 12px; max-width: 320px; line-height: 1.5; }
.footer h4 { color: #fff; font-size: .8rem; letter-spacing: 1px; margin-bottom: 14px; }
.footer .contact li { display: flex; gap: 10px; color: rgba(255,255,255,.78); font-size: .85rem; margin-bottom: 10px; }
.socials { display: flex; gap: 12px; }
.socials a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,.12);
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.socials a svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
.socials a.social--instagram svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
}
.socials a:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,.28);
  box-shadow: 0 14px 26px -14px rgba(0,0,0,.65);
}
.socials a.social--facebook:hover { background: #1877f2; }
.socials a.social--instagram:hover { background: linear-gradient(135deg, #f58529, #dd2a7b 48%, #8134af); }
.socials a.social--linkedin:hover { background: #0a66c2; }
.footer__bottom { text-align: center; color: rgba(255,255,255,.45); font-size: .78rem; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.06); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .inscribe { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }

  /* Menú móvil: hamburguesa + panel desplegable */
  .nav-toggle { display: flex; }
  .nav {
    position: absolute; top: 74px; right: 0; left: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(14, 19, 32, .96); backdrop-filter: var(--blur);
    border-bottom: 1px solid rgba(255,255,255,.1);
    max-height: 0; overflow: hidden; transition: max-height .35s var(--ease);
  }
  .nav.open { max-height: 360px; }
  .nav a { padding: 16px 24px; border-bottom: 1px solid rgba(255,255,255,.06); }
  .nav a::after { display: none; }
  /* Oculta el botón suelto del header en móvil (ya está dentro del menú) */
  .header__inner > .btn { display: none; }
  .about { grid-template-columns: 1fr; padding: 28px 20px; }
  .about__details { grid-template-columns: 1fr; }
  .about__image { min-height: auto; }
}
@media (max-width: 560px) {
  .talk { grid-template-columns: 1fr; }
  .talk .btn { width: 100%; }
}

/* ============================================================
   PÁGINA DE INICIO
   ============================================================ */
.section { padding: 60px 0; }
.section-title { text-align: center; color: #fff; font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; margin-bottom: 10px; }
.section-sub { text-align: center; color: rgba(255,255,255,.72); max-width: 640px; margin: 0 auto 40px; line-height: 1.5; }
.section-title .accent { background: linear-gradient(90deg, var(--naranja), var(--rojo)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.accent--rojo { background: linear-gradient(90deg, var(--rojo), #c13225); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* HERO (slideshow) */
.hero { position: relative; min-height: 620px; display: grid; place-items: center; margin: 28px 0; overflow: hidden; border-radius: var(--radius); }
.hero__slides { position: absolute; inset: 0; z-index: 0; }
.hero__slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.1s var(--ease); transform: scale(1.05);
}
.hero__slide.active { opacity: 1; transform: scale(1); transition: opacity 1.1s var(--ease), transform 7s linear; }
.hero::after { content:""; position:absolute; inset:0; z-index:1; pointer-events:none; background: linear-gradient(180deg, rgba(8,12,22,.4), rgba(8,12,22,.78)); }
.hero__content { position: relative; z-index: 2; text-align: center; color: #fff; padding: 42px 20px; }
.hero__edition { display:inline-block; letter-spacing: 6px; font-weight:600; font-size:.95rem; color: rgba(255,255,255,.85); margin-bottom:12px; }
.hero__title { font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 800; line-height: 1; text-shadow: 0 8px 38px rgba(0,0,0,.45); }
.hero__title span { color: var(--naranja); }
.hero__date { display:inline-block; margin-top: 24px; background: var(--naranja); color:#fff; font-weight:700; font-size: 1.1rem; padding: 14px 30px; border-radius: 999px; box-shadow: 0 12px 26px -8px var(--naranja); }
.hero__arrow { position:absolute; top:50%; transform: translateY(-50%); z-index:3; width:52px; height:52px; border-radius:50%; display:grid; place-items:center; cursor:pointer; color:#fff; font-size:1.55rem; background: rgba(255,255,255,.16); border:1px solid rgba(255,255,255,.25); backdrop-filter: blur(6px); transition: background .2s; }
.hero__arrow:hover { background: rgba(255,255,255,.28); }
.hero__arrow.left { left: 18px; } .hero__arrow.right { right: 18px; }
.hero__dots { position:absolute; bottom:18px; left:0; right:0; z-index:3; display:flex; gap:8px; justify-content:center; }
.hero__dot { width:10px; height:10px; padding:0; border:none; border-radius:999px; background:rgba(255,255,255,.45); cursor:pointer; transition:.3s var(--ease); }
.hero__dot.active { background:#fff; width:28px; }

/* ¿QUIÉNES SOMOS? */
.about {
  display:grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items:center;
  padding: 42px;
  min-height: 360px;
  border-radius: 32px;
  background: linear-gradient(135deg, #1668ff, #1c5cd8);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 24px 68px rgba(0,0,0,.2);
}
.about__text { max-width: 620px; }
.about__tag {
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:#fff;
  font-weight:700;
  margin-bottom:18px;
  font-size:1rem;
  letter-spacing:.8px;
  text-transform:none;
  background: rgba(255,255,255,.14);
  padding: 10px 18px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.2);
}
.about h2 {
  color:#fff;
  font-size: clamp(2rem, 3vw, 3.2rem);
  font-weight:900;
  margin-bottom:18px;
  line-height:1.05;
}
.about h2 .accent {
  background: none;
  color: #fff;
}
.about p {
  color: rgba(255,255,255,.93);
  line-height:1.8;
  font-size:1rem;
  max-width: 640px;
}
.about__image {
  position: relative;
  display: grid;
  align-items: center;
  justify-content: center;
  min-height: 340px;
  background: #fff;
  border-radius: 32px;
  padding: 24px;
  box-shadow: 0 24px 60px rgba(0,0,0,.18);
}
.about__image img {
  width: 100%;
  max-width: 420px;
  border-radius: 28px;
  box-shadow: none;
}
.about__stamp {
  display: none;
}
.about__mascot { display:none; }

/* PILARES */
.pilares { display:grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pilar {
  padding: 30px 24px;
  text-align: center;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  box-shadow: 0 24px 60px rgba(0,0,0,.16);
}
.pilar:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 64px rgba(0,0,0,.22);
}
.pilar__rombo {
  width: 86px;
  height: 86px;
  margin: 0 auto 18px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  box-shadow: 0 18px 36px rgba(0,0,0,.16);
  border: 1px solid rgba(255,255,255,.14);
}
.pilar__rombo span {
  font-size: 2.4rem;
}
.pilar h3 {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.pilar p {
  color: rgba(255,255,255,.78);
  font-size: .92rem;
  line-height: 1.6;
}
.r-rojo { background: linear-gradient(135deg, var(--rojo), #b81f17); }
.r-verde { background: linear-gradient(135deg, var(--verde), #2a9138); }
.r-azul { background: linear-gradient(135deg, var(--azul), #1f63c4); }
.r-naranja { background: linear-gradient(135deg, var(--naranja), #d97706); }
/* EJES TEMÁTICOS */
.ejes { display:grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.eje { border-radius: var(--radius); padding: 26px; color:#fff; position:relative; overflow:hidden; transition: transform .25s var(--ease), box-shadow .3s var(--ease); }
.eje:hover { transform: translateY(-8px); box-shadow: 0 18px 38px -14px rgba(0,0,0,.6); }
.eje__icon { width:96px; height:96px; border-radius:22px; background: rgba(255,255,255,.22); display:grid; place-items:center; font-size:3rem; margin:0 auto 18px; }
.eje h3 { font-size:1.2rem; font-weight:800; margin-bottom:10px; }
.eje p { color: rgba(255,255,255,.92); font-size:.9rem; line-height:1.5; margin:0 auto; max-width: 260px; }
.eje.rojo { background: linear-gradient(150deg,var(--rojo),#a51b14); }
.eje.verde { background: linear-gradient(150deg,var(--verde),#247c30); }
.eje.naranja { background: linear-gradient(150deg,var(--naranja),#c96d05); }

/* ALIANZAS (carrusel) */
.carousel { position:relative; padding: 24px 60px; }
.carousel__viewport { overflow:hidden; }
.carousel__track { display:flex; gap: 20px; transition: transform .45s var(--ease); }
.alianza { flex: 0 0 calc((100% - 60px) / 4); background:#fff; border-radius: var(--radius-sm); height: 130px; display:grid; place-items:center; padding: 18px; font-weight:800; color:#1a2440; text-align:center; font-size:1rem; box-shadow: 0 10px 24px -12px rgba(0,0,0,.5); }
.alianza--dark { background: #0e1320; color:#fff; }
.alianza img { max-height: 88px; max-width: 100%; object-fit: contain; }
.carousel__btn { position:absolute; top:50%; transform:translateY(-50%); width:44px; height:44px; border-radius:50%; border:none; cursor:pointer; background: rgba(255,255,255,.15); color:#fff; font-size:1.3rem; backdrop-filter: blur(6px); border:1px solid rgba(255,255,255,.25); transition: background .2s; }
.carousel__btn:hover{ background: rgba(255,255,255,.3); }
.carousel__btn.prev{ left:6px; } .carousel__btn.next{ right:6px; }

/* EMPRESAS */
.empresas { display:grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.empresa { background:#fff; border-radius: var(--radius-sm); height: 110px; display:grid; place-items:center; color:#51607a; font-weight:700; box-shadow: 0 8px 20px -12px rgba(0,0,0,.5); transition: transform .2s var(--ease); }
.empresa:hover{ transform: translateY(-5px); }

/* CTA final */
.cta { position:relative; border-radius: var(--radius); overflow:hidden; text-align:center; color:#fff; padding: 64px 24px; margin: 60px 0; background: url('../img/hero/feria-2.jpg') center/cover; }
.cta::before { content:""; position:absolute; inset:0; z-index:0; background: linear-gradient(120deg, rgba(43,125,233,.82), rgba(14,19,32,.88)); }
.cta__inner { position:relative; z-index:1; }
.cta h2 { font-size: clamp(1.8rem, 5vw, 3rem); font-weight:800; margin-bottom: 8px; }
.cta p { color: rgba(255,255,255,.85); font-style: italic; margin-top: 18px; }

/* ============================================================
  NOTICIAS (bento grid tipo blog)
  ============================================================ */
.news-filter { display:flex; gap:10px; flex-wrap:wrap; justify-content:center; margin-bottom:30px; }

.bento {
  display: grid;
  /* columnas: izquierda estrecha, centro amplio, derecha estrecha */
  grid-template-columns: 240px 1fr 320px;
  grid-auto-rows: minmax(220px, auto);
  gap: 18px;
  grid-auto-flow: row;
}
.news-card {
  position:relative; overflow:hidden; border-radius: var(--radius);
  padding: 72px 22px 22px;
  min-height: 280px;
  display:flex; flex-direction:column; justify-content:flex-end;
  color:#fff; cursor:default; transition: transform .25s var(--ease), box-shadow .3s var(--ease);
  border:1px solid rgba(255,255,255,.12);
}
.news-card:hover { transform: translateY(-6px); box-shadow: 0 18px 38px -14px rgba(0,0,0,.6); }
.news-card::before { content:""; position:absolute; inset:0; z-index:0; opacity:.92; }
.news-card > * { position:relative; z-index:1; }

/* Colores por categoría (paleta de marca) */
.news-card.INNOVATHON::before    { background:linear-gradient(150deg,#F7941D,#c96d05); }
.news-card.INDUFORUM::before     { background:linear-gradient(150deg,#2B7DE9,#1f4f9e); }
.news-card.InduTech::before      { background:linear-gradient(150deg,#E63329,#9c160f); }
.news-card[class*="Feria"]::before { background:linear-gradient(150deg,#3CB54A,#1f7a2b); }

.news-card.big { grid-column: span 2; grid-row: span 2; min-height: 340px; }
.news-card .cat { position:absolute; top:20px; left:20px; z-index:1; font-size:.75rem; font-weight:700; letter-spacing:1px; text-transform:uppercase; background: rgba(0,0,0,.65); padding:8px 14px; border-radius:999px; }
.news-card .tag-news {
  align-self:flex-start;
  display:inline-block;
  background: rgba(255,255,255,.24);
  font-size:.75rem;
  font-weight:700;
  padding:6px 14px;
  border-radius:999px;
  margin-top: 8px;
  margin-bottom:14px;
}
.news-card h3 { font-size:1.05rem; font-weight:800; line-height:1.3; margin:0 0 12px; }
.news-card.big h3 { font-size:1.7rem; }
.news-card p { font-size:.82rem; color: rgba(255,255,255,.92); line-height:1.55; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; margin:0; }
.news-card.big p { -webkit-line-clamp:4; font-size:.95rem; }
.news-card .fecha { margin-top:14px; font-size:.72rem; color: rgba(255,255,255,.75); }

@media (max-width: 900px){ .bento{ grid-template-columns: repeat(2,1fr); } .news-card.big{ grid-column: span 2; grid-row: span 1; } }
@media (max-width: 560px){ .bento{ grid-template-columns: 1fr; grid-auto-rows: 180px; } .news-card.big{ grid-column: span 1; } }

/* BENTO layout columns used on home (Innovathon / Induforum) */
.bento__col { display: grid; gap: 18px; }
.bento__col--left { grid-column: 1; }
.bento__col--middle { grid-column: 2; grid-template-rows: repeat(2, minmax(220px, auto)); }
.bento__col--right { grid-column: 3; }

.bento__card { border-radius: var(--radius); overflow:hidden; display:flex; align-items:flex-end; padding:18px; color:#fff; position:relative; }
.bento__card.small {
  position:relative;
  display:block;
  min-height: 240px;
  overflow:hidden;
  padding:0;
  background: rgba(0,0,0,.08);
}
.bento__card.small img {
  width:100%;
  height:100%;
  object-fit: contain;
  object-position: center;
  display:block;
  background: rgba(0,0,0,.06);
}
.bento__card__info {
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  z-index:2;
  padding: 12px 14px;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.78));
}
.bento__card__info h4,
.bento__card__info p {
  margin:0;
  color:#fff;
}
.bento__card__info h4 {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
}
.bento__card__info p {
  font-size: .78rem;
  line-height: 1.4;
  margin-top: 6px;
  opacity: .95;
}
.bento__card.medium { min-height: 220px; padding:20px; background: linear-gradient(180deg, rgba(0,0,0,.16), rgba(0,0,0,.28)); background-size:cover; background-position:center; }
.bento__card.hero { min-height: 420px; background-size:cover; background-position:center; }
.bento__card { border-radius: var(--radius); overflow:hidden; display:flex; align-items:flex-end; padding:18px; color:#fff; position:relative; background: rgba(0,0,0,.12); transition: transform .25s var(--ease), box-shadow .3s var(--ease), filter .3s var(--ease); }
.bento__card:hover { transform: translateY(-8px); box-shadow: 0 18px 38px rgba(0,0,0,.25); filter: saturate(1.05); }
.bento__card.card--blue:hover { box-shadow: 0 18px 38px rgba(43,125,233,.35); }
.bento__card.card--green:hover { box-shadow: 0 18px 38px rgba(60,181,74,.35); }
.bento__card.card--orange:hover { box-shadow: 0 18px 38px rgba(247,148,29,.35); }
.bento__card.card--white:hover { box-shadow: 0 18px 38px rgba(255,255,255,.22); }
.bento__card::before { content:""; position:absolute; inset:0; z-index:0; pointer-events:none; }
.bento__card .content, .bento__card h3, .bento__card p { position:relative; z-index:1; }
.bento__hero-caption { background: linear-gradient(90deg, rgba(0,0,0,.36), rgba(0,0,0,.18)); padding:12px 16px; border-radius:12px; margin:18px; font-weight:800; z-index:1; }
.card-tag { position:absolute; top:18px; left:18px; z-index:2; display:inline-flex; align-items:center; justify-content:center; gap:8px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.1); color:#fff; font-size:.75rem; font-weight:700; text-transform: uppercase; letter-spacing:.5px; }
.card-tag--light { background: rgba(255,255,255,.22); color:#10182B; }
.card-label { display:inline-flex; align-items:center; gap:8px; padding: 8px 14px; border-radius: 999px; background: rgba(247,148,29,.12); color: var(--rojo); font-size:.79rem; font-weight:700; margin-bottom:16px; text-transform: uppercase; }
.card-label--outline { background: rgba(255,255,255,.12); color: #fff; border:1px solid rgba(255,255,255,.18); }
.card-pill { display:inline-flex; align-items:center; justify-content:center; margin-top:18px; padding: 10px 16px; border-radius: 999px; background: rgba(0,0,0,.12); color: #fff; font-size:.85rem; font-weight:700; }
.card-icon { position:absolute; top: 18px; right: 18px; z-index:2; width:42px; height:42px; border-radius: 50%; display:grid; place-items:center; background: rgba(255,255,255,.16); font-size:1.25rem; }
.card-placeholder { width:100%; min-height: 220px; display:grid; place-items:center; gap:12px; text-align:center; padding: 28px 16px; }
.card-placeholder .card-label { background: rgba(255,255,255,.14); color: #fff; }
.card-placeholder p { color: rgba(255,255,255,.9); font-size:1.05rem; font-weight:800; }
.bento__card__info--full { position: relative; z-index:1; }
.bento__card__info--hero { left: 0; right: 0; bottom: 0; z-index:2; padding: 24px; background: linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.7)); }

/* Improve hero slide overlay contrast */
.hero__slide::after { content:""; position:absolute; inset:0; z-index:1; background: linear-gradient(180deg, rgba(6,10,20,0.18), rgba(6,10,20,0.55)); }
.hero__content { z-index:2; }

/* Logos: ensure consistent sizing and centering */
.alianza img, .empresa img { max-height:72px; max-width:100%; object-fit:contain; display:block; }

@media (max-width: 900px) {
  .bento__card.small { height: 120px; }
  .bento__card.medium { min-height: 180px; }
  .bento__card.hero { min-height: 280px; }
}

@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2,1fr); }
  .bento__col--middle { grid-column: span 2; }
  .bento__card.hero { min-height: 260px; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .bento__col { width: 100%; }
  .bento__card.hero { min-height: 220px; }
}

/* ============================================================
   PANEL DE ADMINISTRACIÓN
   ============================================================ */
.stat-cards { display:grid; grid-template-columns: repeat(4, 1fr); gap:18px; margin-bottom: 30px; }
.stat-card { padding: 22px; text-align:center; color:#fff; }
.stat-card .big { font-size: 2.4rem; font-weight:800; }
.stat-card .lbl { color: rgba(255,255,255,.7); font-size:.85rem; margin-top:4px; }
.stat-card.azul .big{color:var(--azul);} .stat-card.verde .big{color:var(--verde);}
.stat-card.naranja .big{color:var(--naranja);} .stat-card.rojo .big{color:var(--rojo);}

.admin-tabs { display:flex; gap:10px; flex-wrap:wrap; margin-bottom: 18px; }
.admin-tab { font-family:inherit; font-weight:600; font-size:.9rem; color:#fff; cursor:pointer; padding:11px 20px; border-radius:999px; background: rgba(255,255,255,.10); border:1px solid rgba(255,255,255,.2); transition: all .2s var(--ease); }
.admin-tab:hover { background: rgba(255,255,255,.2); }
.admin-tab.active { background: linear-gradient(135deg,var(--azul),#1f63c4); border-color:transparent; box-shadow:0 6px 16px -6px var(--azul); }

.admin-panel { display:none; }
.admin-panel.active { display:block; }

.toolbar { display:flex; justify-content:space-between; align-items:center; gap:14px; flex-wrap:wrap; margin-bottom:14px; }
.toolbar input.search { font-family:inherit; color:#fff; background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.25); border-radius:999px; padding:10px 18px; outline:none; min-width:220px; }
.toolbar input.search::placeholder{ color:rgba(255,255,255,.6); }
.toolbar input.search:focus{ border-color:#fff; }

.table-wrap { overflow-x:auto; border-radius: var(--radius); }
table.admin-table { width:100%; border-collapse:collapse; color:#fff; min-width:640px; }
table.admin-table thead th { text-align:left; font-size:.78rem; letter-spacing:.5px; text-transform:uppercase; color:rgba(255,255,255,.65); padding:14px 16px; border-bottom:1px solid rgba(255,255,255,.15); }
table.admin-table tbody td { padding:13px 16px; font-size:.88rem; border-bottom:1px solid rgba(255,255,255,.07); }
table.admin-table tbody tr:hover { background: rgba(255,255,255,.05); }
.badge-mod { font-size:.72rem; font-weight:700; padding:3px 9px; border-radius:999px; }
.badge-mod.Virtual{ background:rgba(60,181,74,.25); color:#b7f5c0; }
.badge-mod.Presencial{ background:rgba(247,148,29,.25); color:#ffd9a3; }

.bar-row { display:grid; grid-template-columns: 1fr auto; gap:10px; align-items:center; margin-bottom:12px; color:#fff; }
.bar-row .bar-label { font-size:.88rem; }
.bar-track { grid-column:1 / -1; height:10px; border-radius:999px; background:rgba(255,255,255,.1); overflow:hidden; }
.bar-fill { height:100%; border-radius:999px; background:linear-gradient(90deg,var(--azul),var(--verde)); }

@media (max-width: 760px){ .stat-cards{ grid-template-columns: repeat(2,1fr); } }

/* ============================================================
   PONENTES
   ============================================================ */
.ponentes-list { display: grid; gap: 30px; margin: 20px 0 60px; }
.ponente-wrap { }
.ponente-wrap > .ponencia-label { color:#fff; font-weight:800; font-size: 1.05rem; text-align:center; margin-bottom: 14px; letter-spacing:.5px; }
.ponente-wrap > .ponencia-label small { display:block; color: var(--naranja); font-size:.8rem; letter-spacing:2px; margin-bottom:4px; }

.ponente { display:grid; grid-template-columns: 210px 1fr 250px; gap: 26px; padding: 28px; align-items:start; }
.ponente__photo { text-align:center; }
.ponente__avatar { width: 150px; height: 150px; border-radius: 24px; margin: 0 auto 14px; display:grid; place-items:center; font-size: 3rem; font-weight:800; color:#fff; box-shadow: 0 12px 28px -10px rgba(0,0,0,.6); overflow:hidden; }
.ponente__avatar--img { background:#fff; }
.ponente__avatar img { width:100%; height:100%; object-fit:cover; }
.ponente__name { color:#fff; font-weight:700; font-size:1.05rem; }
.ponente__socials { display:flex; gap:8px; justify-content:center; margin-top:10px; }
.ponente__socials a { width:32px; height:32px; border-radius:50%; display:grid; place-items:center; background: rgba(255,255,255,.12); color:#fff; font-size:.8rem; transition: all .2s var(--ease); }
.ponente__socials a:hover { background: var(--azul); transform: translateY(-2px); }

.ponente__body .cargo { display:inline-block; background: rgba(255,255,255,.12); color:#fff; font-size:.8rem; font-weight:600; padding:6px 14px; border-radius:999px; margin-bottom:12px; }
.ponente__body p { color: rgba(255,255,255,.82); line-height:1.6; font-size:.92rem; margin-bottom:16px; }

.ponente__temas { background: rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.14); border-radius: var(--radius-sm); padding: 18px; }
.ponente__temas h4 { color:#fff; font-size:.85rem; letter-spacing:.5px; margin-bottom:12px; }
.ponente__temas ul { display:grid; gap:9px; }
.ponente__temas li { color: rgba(255,255,255,.8); font-size:.84rem; display:flex; gap:8px; align-items:flex-start; line-height:1.35; }
.ponente__temas li::before { content:"●"; color: var(--naranja); font-size:.6rem; margin-top:5px; }

@media (max-width: 860px) {
  .ponente { grid-template-columns: 1fr; text-align:center; }
  .ponente__temas { text-align:left; }
  .ponente__body .cargo { margin-inline:auto; }
}

@media (max-width: 900px) {
  .pilares { grid-template-columns: repeat(2,1fr); }
  .ejes { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; text-align:center; }
  .empresas { grid-template-columns: repeat(3,1fr); }
  .alianza { flex: 0 0 calc((100% - 20px) / 2); }
}
@media (max-width: 560px) {
  .pilares { grid-template-columns: 1fr; }
  .empresas { grid-template-columns: repeat(2,1fr); }
  .alianza { flex: 0 0 100%; }
  .carousel { padding: 24px 44px; }
}

/* ============================================================
   MEJORAS (estilo + UX) — pase final
   ============================================================ */

/* Ilustración "¿Quiénes somos?" */
.about__mascot img { width: 100%; max-width: 280px; margin: 0 auto; display: block; filter: drop-shadow(0 14px 30px rgba(0,0,0,.4)); }

/* Logos de empresas/aliados participantes */
.empresa { padding: 16px; }
.empresa img { max-height: 64px; max-width: 100%; object-fit: contain; }
.empresa--dark { background: #0e1320; }

/* Foco visible (accesibilidad) */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid var(--naranja); outline-offset: 2px;
}

/* Animaciones de aparición al hacer scroll.
   Solo se ocultan si el JS está activo (clase .js en <html>),
   así, sin JS, todo se ve igual. */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.in-view { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  * { scroll-behavior: auto !important; }
}

/* ============================================================
   PULIDO VISUAL SUAVE
   Mantiene la paleta y el lenguaje Glass UI existente.
   ============================================================ */
.container {
  width: min(1200px, 92%);
}

.header {
  box-shadow: 0 14px 34px rgba(0,0,0,.14);
}

.section {
  padding: clamp(48px, 7vw, 82px) 0;
}

.section-title {
  max-width: 920px;
  margin-inline: auto;
  line-height: 1.08;
}

.section-sub {
  max-width: 720px;
}

.hero {
  min-height: clamp(540px, 72vh, 690px);
  margin: 30px 0 52px;
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 28px 80px rgba(0,0,0,.28);
}

.hero__content {
  width: min(880px, 92%);
}

.hero__edition {
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
}

.hero__title {
  letter-spacing: .02em;
}

.hero__date {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease);
}

.hero__date:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 32px -10px var(--naranja);
}

.about {
  gap: clamp(28px, 5vw, 52px);
  padding: clamp(28px, 5vw, 54px);
}

.about__image {
  min-height: clamp(280px, 32vw, 380px);
}

.bento {
  gap: clamp(16px, 2vw, 24px);
  align-items: stretch;
}

.bento__col {
  gap: clamp(16px, 2vw, 24px);
  min-width: 0;
}

.bento__card,
.pilar,
.eje,
.carousel,
.empresa,
.alianza,
.cta {
  will-change: transform;
}

.bento__card {
  min-width: 0;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 18px 46px rgba(0,0,0,.16);
}

.bento__card:hover,
.pilar:hover,
.eje:hover,
.empresa:hover {
  box-shadow: 0 28px 58px rgba(0,0,0,.24);
}

.feed-card {
  box-shadow: 0 22px 52px rgba(0,0,0,.18);
}

.pilares,
.ejes,
.empresas {
  align-items: stretch;
}

.pilar,
.eje {
  height: 100%;
}

.carousel {
  border-color: rgba(255,255,255,.18);
}

.empresa,
.alianza {
  transition: transform .2s var(--ease), box-shadow .25s var(--ease);
}

.empresa:hover,
.alianza:hover {
  transform: translateY(-5px);
}

.cta {
  box-shadow: 0 28px 70px rgba(0,0,0,.24);
}

@media (max-width: 1080px) {
  .nav {
    gap: 18px;
  }

  .bento,
  .bento[style] {
    grid-template-columns: 1fr 1fr !important;
  }

  .bento__col--left,
  .bento__col--middle,
  .bento__col--right {
    grid-column: auto / span 1;
  }

  .bento__col--middle {
    grid-column: auto / span 1;
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: 560px;
    border-radius: 24px;
  }

  .about__text {
    margin-inline: auto;
  }

  .about__image {
    width: min(440px, 100%);
    margin-inline: auto;
  }

  .footer__inner {
    gap: 22px;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(100% - 28px, 1200px);
  }

  .section {
    padding: 42px 0;
  }

  .hero {
    min-height: 500px;
    margin: 18px 0 36px;
    border-radius: 22px;
  }

  .hero__arrow {
    width: 42px;
    height: 42px;
  }

  .hero__arrow.left {
    left: 10px;
  }

  .hero__arrow.right {
    right: 10px;
  }

  .hero__edition {
    letter-spacing: 3px;
    font-size: .78rem;
  }

  .hero__date {
    width: min(100%, 330px);
    padding-inline: 18px;
  }

  .about {
    border-radius: 24px;
    padding: 26px 20px;
  }

  .about h2 {
    font-size: clamp(1.75rem, 8vw, 2.35rem);
  }

  .bento,
  .bento[style] {
    grid-template-columns: 1fr !important;
  }

  .bento__col--left,
  .bento__col--middle,
  .bento__col--right {
    grid-column: 1 / -1 !important;
  }

  .bento__card[style] {
    min-height: auto !important;
  }

  .bento__card[style*="flex-direction:row"] {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .bento__card[style*="flex-direction:row"] > div:last-child {
    width: 100% !important;
    max-width: 100% !important;
  }

  .bento__card h3,
  .bento__card h4,
  .bento__card p {
    max-width: 100% !important;
  }

  .pilar,
  .eje {
    padding: 24px 20px;
  }

  .carousel {
    padding-inline: 42px;
  }

  .cta {
    margin: 42px 0;
    padding: 52px 20px;
  }
}

@media (max-width: 460px) {
  .hero__title {
    font-size: clamp(2.25rem, 14vw, 3.25rem);
  }

  .pilares,
  .empresas {
    grid-template-columns: 1fr;
  }

  .alianza,
  .empresa {
    min-height: 106px;
  }
}

/* ============================================================
   INSCRIPCIONES - pulido y estados del formulario
   ============================================================ */
.inscribe {
  align-items: start;
}

.flyer,
.form-card {
  position: relative;
  overflow: hidden;
}

.flyer::before,
.form-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,.13), transparent 36%);
}

.flyer > *,
.form-card > * {
  position: relative;
  z-index: 1;
}

.flyer__meta {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}

.flyer__meta div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 15px;
  border-radius: 16px;
  background: rgba(255,255,255,.11);
  border: 1px solid rgba(255,255,255,.15);
}

.flyer__meta strong {
  color: #fff;
  font-size: .86rem;
}

.flyer__meta span {
  color: rgba(255,255,255,.74);
  text-align: right;
  font-size: .84rem;
}

.form-card {
  padding: clamp(26px, 4vw, 38px);
}

.form-status {
  display: none;
  margin: 0 0 18px;
  padding: 12px 14px;
  border-radius: 14px;
  line-height: 1.45;
  font-size: .88rem;
  font-weight: 600;
}

.form-status.info,
.form-status.success,
.form-status.warning {
  display: block;
}

.form-status.info {
  color: #d9e9ff;
  background: rgba(43,125,233,.18);
  border: 1px solid rgba(43,125,233,.28);
}

.form-status.success {
  color: #d9ffd7;
  background: rgba(60,181,74,.18);
  border: 1px solid rgba(60,181,74,.30);
}

.form-status.warning {
  color: #fff1c7;
  background: rgba(247,148,29,.18);
  border: 1px solid rgba(247,148,29,.34);
}

.form-card button[disabled] {
  cursor: wait;
  opacity: .72;
  transform: none;
}

@media (max-width: 560px) {
  .flyer__meta div {
    display: grid;
    gap: 4px;
  }

  .flyer__meta span {
    text-align: left;
  }
}

/* ============================================================
   RESPONSIVE GLOBAL - sitio completo
   ============================================================ */
html,
body {
  max-width: 100%;
}

body {
  overflow-x: clip;
}

.header__inner,
.nav,
.filters,
.filter-group,
.news-filter,
.toolbar,
.admin-tabs,
.socials,
.talk .meta {
  min-width: 0;
}

.page-head {
  width: min(920px, calc(100% - 32px));
  margin-inline: auto;
}

.page-head h1,
.section-title,
.hero__title,
.cta h2,
.flyer h2,
.about h2,
.bento__card h3,
.bento__card h4,
.news-card h3,
.ponente__name {
  overflow-wrap: anywhere;
}

.page-head > div,
.cta__inner,
.toolbar,
.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.page-head .btn,
.cta .btn {
  white-space: normal;
  text-align: center;
}

.filters,
.news-filter {
  max-width: 100%;
}

.filter-group,
.news-filter {
  align-items: center;
}

.chip {
  white-space: nowrap;
}

.no-results {
  color: #fff;
  padding: 24px;
  text-align: center;
  border-radius: var(--radius);
}

.section--removed-induforum {
  display: none !important;
}

.talk,
.ponente,
.bento__card,
.form-card,
.flyer,
.pilar,
.eje,
.news-card,
.stat-card,
.table-wrap {
  min-width: 0;
}

.talk .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: rgba(255,255,255,.78);
  font-size: .86rem;
}

.talk-desc {
  max-width: 72ch;
}

.table-wrap {
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
}

.admin-table th,
.admin-table td {
  white-space: nowrap;
}

@media (max-width: 1180px) {
  .container {
    width: min(100% - 40px, 1200px);
  }

  .nav {
    gap: 14px;
  }

  .nav a {
    font-size: .84rem;
  }

  .header__inner > .btn,
  .header-actions .btn {
    padding-inline: 18px;
  }

  .bento {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  }

  .bento__col--left,
  .bento__col--middle,
  .bento__col--right {
    grid-column: auto / span 1 !important;
  }
}

@media (max-width: 900px) {
  .header__inner {
    height: 68px;
  }

  .nav {
    top: 68px;
    z-index: 60;
    max-height: 0;
    overflow-y: auto;
    box-shadow: 0 24px 42px rgba(0,0,0,.24);
  }

  .nav.open {
    max-height: min(70vh, 520px);
  }

  .nav a {
    width: 100%;
    text-align: center;
  }

  .header-actions {
    display: none !important;
  }

  .page-head {
    padding-top: 42px;
  }

  .filters {
    justify-content: flex-start;
  }

  .filter-group {
    width: 100%;
    justify-content: flex-start;
  }

  .filter-group > span {
    width: 100%;
  }

  .talk {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .talk .btn {
    width: 100%;
  }

  .modal__card {
    width: min(94vw, 760px);
    max-height: 86vh;
    overflow-y: auto;
  }

  .ponente {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .ponente__temas,
  .ponente__body {
    text-align: left;
  }

  .ponente__body .btn {
    width: 100%;
  }

  .stat-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .toolbar {
    justify-content: stretch;
  }

  .toolbar input.search,
  .toolbar .btn {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 760px) {
  .container,
  .page-head {
    width: min(100% - 28px, 1200px);
  }

  .page-head h1 {
    font-size: clamp(1.9rem, 10vw, 2.7rem);
    line-height: 1.08;
  }

  .page-head p {
    font-size: .98rem;
  }

  .section-title[style] {
    font-size: clamp(2rem, 10vw, 3rem) !important;
    letter-spacing: 0 !important;
  }

  .hero {
    min-height: min(520px, calc(100svh - 110px));
  }

  .hero__content {
    padding-inline: 54px;
  }

  .about,
  .inscribe {
    gap: 22px;
  }

  .flyer__date {
    flex-wrap: wrap;
    font-size: clamp(2rem, 12vw, 2.4rem);
  }

  .field input,
  .field select,
  .btn {
    min-height: 46px;
  }

  .filters,
  .news-filter,
  .admin-tabs {
    overflow: visible;
    justify-content: center;
    padding-bottom: 0;
  }

  .filters {
    padding: 16px;
  }

  .filter-group,
  .news-filter {
    flex-wrap: wrap;
    justify-content: center;
  }

  .filter-group > span {
    width: 100%;
    text-align: center;
  }

  .bento {
    grid-template-columns: 1fr !important;
    grid-auto-rows: auto !important;
  }

  .bento__col,
  .bento__col--left,
  .bento__col--middle,
  .bento__col--right {
    grid-column: 1 / -1 !important;
  }

  .feed-card[style],
  .bento__card[style] {
    min-height: 0 !important;
  }

  .bento__card {
    padding: 20px !important;
  }

  .bento__card[style*="flex-direction:row"] {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .bento__card img[style*="height:130px"],
  .bento__card img[style*="height:140px"],
  .bento__card img[style*="height:160px"] {
    height: auto !important;
    aspect-ratio: 16 / 9;
  }

  .news-card,
  .news-card.big {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    min-height: 250px;
  }

  .carousel {
    padding: 20px 44px;
  }

  .empresa,
  .alianza {
    height: auto;
    min-height: 108px;
  }

  .toast {
    left: 14px;
    right: 14px;
    top: 82px;
    justify-content: center;
    transform: translateY(-160%);
  }

  .toast.show {
    transform: translateY(0);
  }
}

@media (max-width: 560px) {
  .container,
  .page-head {
    width: min(100% - 22px, 1200px);
  }

  .logo {
    gap: 8px;
  }

  .logo__mark {
    width: 36px;
    height: 36px;
  }

  .logo__text {
    font-size: 1.02rem;
  }

  .page-head {
    padding-top: 34px;
  }

  .hero {
    min-height: 450px;
    margin-top: 14px;
  }

  .hero__content {
    padding-inline: 42px;
  }

  .hero__arrow {
    background: rgba(14,19,32,.45);
  }

  .hero__date {
    font-size: .96rem;
  }

  .section {
    padding: 36px 0;
  }

  .about__tag {
    margin-inline: auto;
  }

  .about p {
    font-size: .95rem;
  }

  .form-card,
  .flyer {
    padding: 22px 18px;
  }

  .field label {
    align-items: flex-start;
    line-height: 1.35;
  }

  .pilar__rombo,
  .eje__icon {
    width: 76px;
    height: 76px;
    border-radius: 20px;
    font-size: 2.3rem;
  }

  .carousel {
    padding-inline: 38px;
  }

  .carousel__btn {
    width: 38px;
    height: 38px;
  }

  .empresas {
    grid-template-columns: 1fr;
  }

  .stat-cards {
    grid-template-columns: 1fr;
  }

  .admin-tab,
  .chip {
    flex: 0 0 auto;
  }

  .modal__card {
    width: calc(100vw - 22px);
    padding: 22px 18px;
  }

  .modal__card form > div[style*="display:flex"] {
    flex-direction: column;
  }

  .modal__card form .btn {
    width: 100%;
  }

  .bento__card div[style*="justify-content:space-between"][style*="text-align:center"] {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 14px !important;
  }

  .bento__card div[style*="justify-content:space-between"][style*="text-align:center"] > div {
    flex: 0 1 76px !important;
  }

  .bento__card div[style*="right:-20px"] {
    display: none !important;
  }

  .ponente {
    padding: 22px 18px;
  }

  .ponente__avatar {
    width: 126px;
    height: 126px;
  }

  .footer__inner {
    padding: 32px 0;
  }

  .footer .logo,
  .footer h4,
  .footer p,
  .footer .contact li {
    text-align: center;
    justify-content: center;
  }

  .footer p {
    margin-inline: auto;
  }

  .socials {
    justify-content: center;
  }
}

@media (max-width: 380px) {
  .hero__content {
    padding-inline: 34px;
  }

  .hero__title {
    font-size: 2.15rem;
  }

  .btn {
    width: 100%;
    padding-inline: 18px;
  }

  .nav .btn {
    width: auto;
  }
}
