/* ============================================================
   Congreso Internacional de Diseño Anáhuac — 23ª edición
   Hoja de estilos única del sitio.
   Se apoya en Bootstrap 5 para el grid/utilidades y breakpoints;
   todo lo visual (color, tipografía, componentes propios) vive aquí,
   controlado por variables para reutilizarse en cada pantalla.
   ============================================================ */

@font-face{
  font-family:"Circe";
  src:url("../fonts/circe/Circe_Thin.woff2") format("woff2");
  font-style:normal;
  font-weight:100;
  font-display:swap;
}
@font-face{
  font-family:"Circe";
  src:url("../fonts/circe/Circe_Light.woff2") format("woff2");
  font-style:normal;
  font-weight:300;
  font-display:swap;
}
@font-face{
  font-family:"Circe";
  src:url("../fonts/circe/Circe_Regular.woff2") format("woff2");
  font-style:normal;
  font-weight:400;
  font-display:swap;
}
@font-face{
  font-family:"Circe";
  src:url("../fonts/circe/Circe_Bold.woff2") format("woff2");
  font-style:normal;
  font-weight:700;
  font-display:swap;
}

/* ---------- 1. Design tokens ---------- */
:root{
  /* Paleta (identidad del cartel oficial) */
  --purple-deep:   #3D1780;
  --purple-poster: #5B2FA6;
  --purple-dark:   #280F5C;
  --cyan:          #4DE8FF;
  --green:         #6BFFA3;
  --coral:         #FF6E5A;
  --ink:           #F5F2FF;
  --muted:         #B9A9E0;
  --muted-dim:     #8873BE;

  /* Paleta del sitio final (aprobado por Coordinación) — tema claro */
  --brand-purple:  #6F25B9;  /* header + hero sólido */
  --brand-coral:   #ca5025;  /* Talleres */
  --brand-magenta: #c4007a;  /* Design Talks */
  --brand-olive:   #bda728;  /* Conferencias Magistrales */
  --brand-teal:    #68a8de;  /* Mesas de Discusión */
  --card-gray:     #EEEEEE;
  --text-dark:     #2B2B2B;
  --text-body:     #5A5A5A;

  /* Superficies */
  --surface-0: var(--purple-deep);   /* fondo base */
  --surface-1: #241338;              /* tarjetas / header */
  --surface-2: #1D0E3D;              /* tabbar / footer */

  /* Tipografía */
  --font-display: "Circe", sans-serif;
  --font-label:   "Roboto", sans-serif;
  --font-body:    "Roboto", sans-serif;
  --font-heading: "Circe", sans-serif;

  /* Color del badge de Talleres, alineado con el color actual de categoría. */
  --badge-orange:  #ca5025;

  /* Radios y espaciado */
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;

  /* Layout */
  --container-max: 1200px;
  --header-h: 72px;
}

/* ---------- 2. Reset ligero + overrides de Bootstrap ---------- */
*{ box-sizing:border-box; }
html{ min-height:100%; scroll-behavior:smooth; }
body{
  min-height:100vh;
  display:flex;
  flex-direction:column;
  margin:0;
  background:var(--surface-0);
  color:var(--ink);
  font-family:var(--font-body);
  font-size:1rem;
  font-weight:300;
  font-stretch:87.5%;
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden; /* evita el scroll horizontal fantasma (motivos SVG y elementos
                         posicionados que se salen del viewport), causa típica de que
                         el responsive de Bootstrap "no reaccione" en escritorio. */
}
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
svg{ max-width:100%; }

/* Bootstrap trae su propio azul; lo neutralizamos donde se usen sus
   componentes (navbar, offcanvas, botones) para que hereden nuestra marca */
.btn:focus, a:focus, button:focus{
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

h1,h2,h3,h4,h5,h6 {
  font-family:var(--font-heading);
  font-weight:400 !important;
}
/* ---------- 3. Utilidades tipográficas ---------- */
.eyebrow{
  font-family:var(--font-label);
  font-size:.68rem;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--muted);
  margin:0 0 .6rem;
}
.display-heading{
  font-family:var(--font-display);
  font-weight:700;
  line-height:1.03;
  letter-spacing:-.01em;
  margin:0;
  color:var(--ink);
}

/* Se conserva el nombre de la clase por compatibilidad con el HTML existente. */
.roboto-congreso {
  font-family: var(--font-body);
  font-optical-sizing: auto;
  font-weight: 300;
  font-stretch: 87.5%;
  font-style: normal;
  line-height: 1.5;
}


.accent-gradient{
  background:linear-gradient(90deg,var(--cyan),var(--green));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

/* ---------- 4. Header / navegación ---------- */
.site-header{
  position:sticky; top:0; z-index:40;
  background:var(--surface-1);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.site-header .inner{
  max-width:var(--container-max);
  margin:0 auto;
  display:flex; align-items:center; justify-content:space-between;
  padding:.9rem 1.25rem;
}
.brand{ display:flex; align-items:center; gap:.6rem; }
.brand-mark{
  width:30px; height:30px; border-radius:8px; flex:0 0 auto;
  background:linear-gradient(135deg,var(--cyan),var(--green));
}
.brand-text{ font-family:var(--font-label); font-size:.72rem; line-height:1.15; }
.brand-text b{ display:block; font-weight:600; font-size:.8rem; color:var(--ink); }
.brand-text span{ color:var(--muted-dim); font-size:.62rem; letter-spacing:.08em; text-transform:uppercase; }

/* nav de escritorio: oculta bajo lg, visible desde lg */
.desktop-nav{ display:none; gap:2rem; }
.desktop-nav a{
  font-family:var(--font-label); font-size:.85rem; font-weight:600;
  color:var(--muted); letter-spacing:.02em; transition:color .15s;
}
.desktop-nav a:hover, .desktop-nav a.active{ color:var(--cyan); }
.desktop-cta{ display:none; }

/* burger: solo visible bajo lg */
.burger{
  width:40px; height:40px; border-radius:10px; border:none;
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px;
  background:rgba(255,255,255,.06); cursor:pointer;
}
.burger span{ width:16px; height:2px; background:var(--ink); border-radius:2px; }

/* Drawer (Bootstrap Offcanvas restyled) */
.offcanvas.drawer-nav{
  background:var(--surface-1); color:var(--ink); width:78%; max-width:320px;
}
.drawer-nav a{
  display:block; padding:.9rem 0; font-family:var(--font-display);
  font-size:1.05rem; font-weight:600; color:var(--ink);
  border-bottom:1px solid rgba(255,255,255,.07);
}
.drawer-nav .btn-primary-brand{ margin-top:1.25rem; }

@media (min-width:992px){
  .desktop-nav{ display:flex; }
  .desktop-cta{ display:inline-flex; }
  .burger{ display:none; }
}

/* ---------- 5. Hero ---------- */
.hero{
  position:relative;
  overflow:hidden;
  background:radial-gradient(120% 80% at 50% 0%, var(--purple-poster) 0%, var(--purple-deep) 65%);
  padding:2.25rem 1.25rem 2rem;
}
.hero .inner{
  max-width:var(--container-max);
  margin:0 auto;
  position:relative; z-index:2;
}
.hero-motif{
  position:absolute; top:-40px; left:50%; transform:translateX(-50%);
  width:320px; height:320px; opacity:.5; z-index:0; pointer-events:none;
}
.hero-motif path{ fill:none; stroke-width:1; stroke-linecap:round; }

.hero h1{ font-size:2.05rem; }
.hero .tagline{ font-size:.95rem; color:var(--muted); margin:.75rem 0 0; font-weight:500; }

.date-chip{
  display:flex; align-items:center; gap:.65rem; margin-top:1.1rem;
  background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.14);
  border-radius:var(--radius-md); padding:.75rem .9rem;
}
.date-chip .d-num{ font-family:var(--font-display); font-weight:700; font-size:1rem; white-space:nowrap; }
.date-chip .divider{ width:1px; height:22px; background:rgba(255,255,255,.18); }
.date-chip .venue{ font-size:.76rem; color:var(--muted); line-height:1.3; }
.date-chip .venue b{ display:block; color:var(--ink); font-weight:600; font-size:.78rem; }

.cta-row{ display:flex; gap:.65rem; margin-top:1.1rem; flex-wrap:wrap; }
.btn-primary-brand{
  flex:1; min-width:140px; text-align:center;
  background:var(--ink); color:var(--purple-deep);
  font-weight:600; font-size:.9rem; padding:.9rem 1rem;
  border-radius:var(--radius-sm); border:none;
}
.btn-secondary-brand{
  flex:1; min-width:120px; text-align:center; color:var(--ink);
  font-weight:500; font-size:.9rem; padding:.9rem 1rem;
  border:1px solid rgba(255,255,255,.25); border-radius:var(--radius-sm);
}

/* Desktop: hero en dos columnas, tipografía mayor */
@media (min-width:992px){
  .hero{ padding:4.5rem 2rem; }
  .hero .row{ align-items:center; }
  .hero h1{ font-size:3.4rem; }
  .hero .tagline{ font-size:1.15rem; }
  .hero-motif{ position:static; transform:none; width:100%; height:auto; max-width:420px; margin:0 auto; opacity:.85; }
  .cta-row{ flex-wrap:nowrap; }
  .btn-primary-brand, .btn-secondary-brand{ flex:0 0 auto; }
}

/* ---------- 6. Sección genérica ---------- */
.section{ max-width:var(--container-max); margin:0 auto; padding:2.4rem 1.25rem; }
.section-label{ font-family:var(--font-label); font-size:.68rem; letter-spacing:.16em; text-transform:uppercase; color:var(--muted-dim); margin:0 0 .25rem; }
.section-title{ font-family:var(--font-display); font-size:1.3rem; font-weight:600; margin:.15rem 0 1rem; }
@media (min-width:992px){ .section-title{ font-size:1.7rem; } }

/* ---------- 7. Tarjetas de ponentes ---------- */
/* Mobile: carrusel horizontal con scroll-snap. Desktop: grid Bootstrap sin scroll. */
.speaker-carousel{
  display:flex; gap:.75rem; overflow-x:auto; scroll-snap-type:x mandatory;
  padding-bottom:.5rem; -webkit-overflow-scrolling:touch;
}
.speaker-carousel::-webkit-scrollbar{ display:none; }
.sp-card{
  scroll-snap-align:start; flex:0 0 76%;
  background:var(--surface-1); border-radius:var(--radius-lg); padding:1rem;
}
.sp-avatar{
  width:100%; aspect-ratio:16/10; border-radius:var(--radius-md); margin-bottom:.75rem;
  display:flex; align-items:center; justify-content:center;
  font-family:var(--font-display); font-weight:700; font-size:1.6rem; color:rgba(0,0,0,.6);
}
.sp-name{ font-size:.95rem; font-weight:600; }
.sp-role{ font-size:.72rem; color:var(--muted); margin-top:.2rem; line-height:1.3; }
.sp-tag{
  display:inline-block; margin-top:.6rem; font-size:.6rem; letter-spacing:.05em; text-transform:uppercase;
  color:var(--muted-dim); font-family:var(--font-label); border:1px solid rgba(255,255,255,.14);
  border-radius:100px; padding:.2rem .55rem;
}
.speaker-dots{ display:flex; gap:6px; justify-content:center; margin-top:.75rem; }
.speaker-dots .dot{ width:5px; height:5px; border-radius:50%; background:rgba(255,255,255,.2); }
.speaker-dots .dot.active{ background:var(--cyan); width:14px; border-radius:4px; }

@media (min-width:768px){
  /* En tablet/escritorio dejamos de scrollear: se vuelve grid fijo */
  .speaker-carousel{
    overflow-x:visible; scroll-snap-type:none;
    display:grid; grid-template-columns:repeat(3,1fr); gap:1.25rem;
  }
  .sp-card{ flex:none; }
  .speaker-dots{ display:none; }
}

/* ---------- 8. Tabbar (solo móvil) ---------- */
.tabbar{
  display:flex; justify-content:space-around; align-items:center;
  padding:.75rem 0 1.35rem; background:var(--surface-2);
  border-top:1px solid rgba(255,255,255,.08);
  position:sticky; bottom:0; z-index:30;
}
.tabbar .tab{ display:flex; flex-direction:column; align-items:center; gap:.25rem; font-size:.6rem; color:var(--muted-dim); }
.tabbar .tab.active{ color:var(--cyan); }
.tabbar .tab .tdot{ width:5px; height:5px; border-radius:50%; background:currentColor; }

@media (min-width:992px){
  .tabbar{ display:none; } /* la navegación de escritorio vive en el header */
}

/* ============================================================
   10. SITIO FINAL (diseño aprobado por Coordinación — tema claro)
   Usado por: Home, Ponentes, Perfil de Ponente, Talleres,
   Design Talks, Perfil Design Talk, Mesas de Discusión.
   ============================================================ */

.page-light{ background:#fff; }

/* ---- Header claro ---- */
.header-light{
  background:var(--brand-purple);
  position:sticky; top:0; z-index:40;
}
.header-light .inner{
  max-width:var(--container-max); margin:0 auto;
  display:flex; align-items:center; justify-content:space-between;
  padding:1.1rem 1.25rem;
}
.header-light .brand-word{
  font-family:var(--font-display); font-weight:600; font-size:1.15rem;
  letter-spacing:.03em; color:#fff; line-height:1;
}
.header-light .brand-sub{
  display:block; font-family:var(--font-label); font-size:.5rem;
  letter-spacing:.28em; color:rgba(255,255,255,.75); margin-top:.3rem;
}
.header-light .desktop-nav a{ color:rgba(255,255,255,.85); }
.header-light .desktop-nav a:hover, .header-light .desktop-nav a.active{ color:#fff; }
.header-light .burger{ background:rgba(255,255,255,.15); }
.header-light .burger span{ background:#fff; }

/* ---- Hero de portada: composición móvil con SVG independientes ---- */
.hero-poster{
  position:relative;
  width:100%;
  min-height:calc(100svh - var(--header-h));
  overflow:hidden;
  background:var(--brand-purple);
  isolation:isolate;
}
.hero-poster .motif-wrap{
  position:absolute;
  top:50%;
  left:0;
  width:min(155vw,660px);
  max-width:none;
  transform:translate(-50%,-50%);
  z-index:0;
  pointer-events:none;
}
.hero-poster .motif-wrap img,
.hero-poster .motif-wrap .motif-svg{
  width:100%;
  max-width:none;
  height:auto;
  display:block;
}
.motif-svg.motif-prepared .motif-layer{
  opacity:0;
}
.motif-svg.motif-prepared .motif-mask-reveal{
  transform:scaleY(.001);
  transform-box:fill-box;
  transform-origin:center;
}
.motif-svg.motif-running .motif-layer{
  animation:motif-layer-in 1.45s cubic-bezier(.2,.75,.25,1) forwards;
  animation-delay:var(--motif-delay);
}
.motif-svg.motif-running .motif-mask-reveal{
  animation:motif-mask-open 1.65s cubic-bezier(.2,.75,.25,1) forwards;
  animation-delay:var(--motif-delay);
}
@keyframes motif-layer-in{
  from{ opacity:0; }
  to{ opacity:1; }
}
@keyframes motif-mask-open{
  from{ transform:scaleY(.001); }
  to{ transform:scaleY(1); }
}
@media (prefers-reduced-motion:reduce){
  .motif-svg .motif-layer,
  .motif-svg .motif-mask-reveal{
    animation:none !important;
    opacity:1 !important;
    transform:none !important;
  }
}
.hero-vertical-type{
  position:absolute;
  inset:0;
  z-index:1;
  display:grid;
  place-items:center;
  padding:2rem 0;
}
.hero-vertical-type picture{ display:contents; }
.hero-vertical-type .vertical-type-img{
  width:min(78vw,330px);
  max-width:100%;
  max-height:calc(100% - 4rem);
  object-fit:contain;
}
.hero-desktop-copy{ display:none; }

/* Composición provisional de tableta/escritorio; se sustituirá con su arte final. */
@media (min-width:768px){
  .hero-poster{
    --tablet-hero-art-height:min(88vw,720px);
    min-height:760px;
  }
  .hero-poster .motif-wrap{
    top:50%;
    right:auto;
    left:50%;
    width:auto;
    height:var(--tablet-hero-art-height);
    transform:translate(-50%,-50%);
  }
  .hero-poster .motif-wrap img,
  .hero-poster .motif-wrap .motif-svg{
    width:auto;
    height:100%;
  }
  .hero-vertical-type .vertical-type-img{
    width:auto;
    max-width:none;
    height:var(--tablet-hero-art-height);
    max-height:none;
  }
}

@media (min-width:1200px){
  .hero-poster{
    --desktop-hero-art-height:min(32.6vw,640px,calc(100svh - var(--header-h)));
    --desktop-hero-bottom-space:clamp(2rem,4vw,4rem);
    min-height:calc(var(--desktop-hero-art-height) + var(--desktop-hero-bottom-space));
  }
  .hero-poster .motif-wrap{
    top:0;
    right:auto;
    left:30%;
    width:auto;
    height:var(--desktop-hero-art-height);
    transform:translateX(-50%);
  }
  .hero-poster .motif-wrap img,
  .hero-poster .motif-wrap .motif-svg{
    width:auto;
    height:100%;
  }
  .hero-vertical-type .vertical-type-img{
    position:absolute;
    top:0;
    left:30%;
    width:auto;
    max-width:none;
    height:var(--desktop-hero-art-height);
    max-height:none;
    transform:translateX(-50%);
  }
  .hero-desktop-copy{
    position:absolute;
    top:0;
    right:0;
    z-index:2;
    display:block;
    height:var(--desktop-hero-art-height);
    pointer-events:none;
  }
  .hero-desktop-copy img{
    display:block;
    width:auto;
    max-width:none;
    height:100%;
  }
}

/* ---- Bloque de introducción (lorem) ---- */
.lorem-block{
  background:#fff; color:var(--text-body);
  max-width:var(--container-max); margin:0 auto;
  padding:1.75rem 1.25rem; font-size:.92rem; line-height:1.6; text-align:center;
}

/* ---- Tarjetas de evento (Home) ---- */
.event-section{ background:#fff; max-width:var(--container-max); margin:0 auto; }
.event-card{ position:relative; }
.event-card img{ width:100%; display:block; }
a.event-card { background: var(--card-gray);}
.badge-circle{
  position:absolute; top:14px; left:18px; z-index:2;
  width:44px; height:44px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  color:#fff; font-family:var(--font-display); font-weight:700; font-size:.85rem;
  box-shadow:0 4px 10px rgba(0,0,0,.25);
}
.badge-tr{ background:var(--badge-orange); }
.badge-dt{ background:var(--brand-magenta); }
.badge-cm{ background:var(--brand-olive); }
.badge-md{ background:var(--brand-teal); }

.event-info{ background:var(--card-gray); padding:1rem 1.25rem 1.15rem; }
.event-info .ev-title{ font-family:var(--font-display); font-weight:700; font-size:1.05rem; margin:0 0 .5rem; }
.event-info .ev-title.c-coral{ color:var(--brand-coral); }
.event-info .ev-title.c-magenta{ color:var(--brand-magenta); }
.event-info .ev-title.c-olive{ color:var(--brand-olive); }
.event-info .ev-title.c-teal{ color:var(--brand-teal); }
.event-info .ev-meta{ font-weight:600; font-size:.85rem; color:var(--text-dark); line-height:1.5; margin:0; }
.event-extra{ padding:.75rem 1.25rem 0 0; font-size:.85rem; color:var(--text-body); }

@media (min-width:768px){
  .event-section{ padding:1.5rem; }
  .event-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:1.5rem; }
}
@media (min-width:1200px){
  .event-grid{ grid-template-columns:repeat(4,1fr); }
}

/* ---- Footer con logos institucionales (imagen provista por diseño) ---- */
.site-footer-img{ background:#fff; padding:1.5rem 1.25rem 2rem; }
.site-footer-img .inner{ max-width:var(--container-max); margin:0 auto; border-top:1px solid #e2e2e2; padding-top:1.25rem; }
.site-footer-img img{ width:100%; max-width:520px; margin:0 auto; display:block; }

/* ---------- 9. Footer ---------- */
.site-footer{
  background:var(--surface-2); border-top:1px solid rgba(255,255,255,.08);
  padding:2rem 1.25rem; text-align:center; color:var(--muted-dim); font-size:.78rem;
}
.site-footer .inner{ max-width:var(--container-max); margin:0 auto; }

/* ============================================================
   11. COMPONENTES COMPARTIDOS — páginas internas (tema claro)
   Usados por: Ponentes, Perfil de Ponente, Talleres, Design Talks,
   Perfil Design Talk, Mesas de Discusión.
   Todas las variantes de color usan los mismos tokens --brand-*.
   ============================================================ */

/* ---- 11.1 Encabezado de página (título + subtítulo + línea) ---- */
.page-hero{ width:100%; max-width:var(--container-max); margin:0 auto; padding:2rem 1.25rem 1.5rem; }
.page-hero h1{
  font-family:var(--font-display); font-weight:700; font-size:2rem; margin:0 0 .6rem;
}
.page-hero .page-sub{
  font-size:.95rem; color:var(--text-dark); font-weight:500; line-height:1.5;
  max-width:640px; margin:0 0 .9rem;
}
.page-hero .ev-meta{
  margin:0;
  color:var(--text-dark);
  font-size:.85rem;
  font-weight:600;
  line-height:1.5;
}
.page-hero .ev-location{
  max-width:640px;
  margin:.65rem 0 0;
  color:var(--text-body);
  font-size:.85rem;
  line-height:1.5;
}
.page-hero .page-rule{ width:70px; height:2px; border:none; margin:0; }
.page-hero .ev-meta+.page-rule,
.page-hero .ev-location+.page-rule{ margin-top:.9rem; }

.page-hero--olive   h1{ color:var(--brand-olive); }
.page-hero--olive   .page-rule{ background:var(--brand-olive); }
.page-hero--coral   h1{ color:var(--brand-coral); }
.page-hero--coral   .page-rule{ background:var(--brand-coral); }
.page-hero--magenta h1{ color:var(--brand-magenta); }
.page-hero--magenta .page-rule{ background:var(--brand-magenta); }
.page-hero--teal    h1{ color:var(--brand-teal); }
.page-hero--teal    .page-rule{ background:var(--brand-teal); }
.page-hero--purple  h1{ color:var(--brand-purple); }
.page-hero--purple  .page-rule{ background:var(--brand-purple); }

/* ---- Invitados internacionales en portada ---- */
.invitados-section{ max-width:var(--container-max); margin:0 auto; padding:1.5rem 1rem; background:var(--brand-purple);}
.invitados-title{ margin:0 0 1rem; color:var(--ink); font-family:var(--font-display); font-weight:700; }
.invitados{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.75rem; }
.invitado-card{ position:relative; overflow:hidden; display:block; aspect-ratio:1/1; border-radius:var(--radius-md); background:var(--card-gray); }
.invitado-card img,.invitado-card .activity-image-placeholder{ width:100%; height:100%; min-height:0; object-fit:cover; display:block; }
.invitado-card strong{ position:absolute; right:0; bottom:0; left:0; padding:1.5rem .75rem .65rem; color:var(--card-gray); background:linear-gradient(transparent,rgba(0,0,0,.94)); font-family:var(--font-display); font-size: 1.25rem;}
@media (min-width:768px){
  .invitados-section{ padding:2rem 1.25rem; }
  .invitados{ gap:1.5rem; }
  .invitado-card strong{ padding:3rem 1rem .9rem; font-size: 2rem; line-height: 1.2; }
}

@media (min-width:992px){
  .page-hero h1{ font-size:2.75rem; }
  .page-hero .page-sub{ font-size:1.05rem; }
}

/* ---- 11.2 Motivo decorativo de esquina (blob suave, estático) ---- */
.corner-motif{ position:absolute; top:-10%; right:-15%; width:70%; max-width:320px; opacity:.85; pointer-events:none; z-index:0; }
.corner-motif svg{ width:100%; height:auto; display:block; }

/* ---- 11.3 Tarjeta de persona (lista): foto + info ---- */
/* Usado por Ponentes y Mesas de Discusión */
.people-list{ max-width:var(--container-max); margin:0 auto; padding:0 0 1rem; position:relative; overflow:hidden; }
.people-list--speakers{
  width:100%;
  display:grid;
  gap:1rem;
  padding:0 1rem 1rem;
}
.people-list--speakers .people-card{
  margin:0;
  border-radius:var(--radius-md);
  overflow:hidden;
}
.people-card{
  position:relative; z-index:1;
  display:grid; grid-template-columns:118px 1fr; gap:0;
  background:var(--card-gray); margin:0 0 1px;
}
.people-card .pc-photo{ position:relative; }
.people-card .pc-photo img{ width:100%; height:100%; object-fit:cover; object-position:left top; display:block; }
.people-card .pc-info{ padding:.9rem 1rem .9rem .9rem; }
.people-card .pc-name{ font-family:var(--font-display); font-weight:700; font-size:1.05rem; margin:0 0 .3rem; line-height:1.2; }
.people-card .pc-role{ font-weight:600; font-size:.82rem; color:var(--text-dark); margin:0; }
.people-card .pc-desc{
  grid-column:1 / -1; background:var(--card-gray);
  padding:0 1rem .9rem; font-size:.82rem; color:var(--text-body); line-height:1.5;
}
.people-card .pc-mod-tag, .profile-hero .pc-mod-tag{
  display:inline-block; background:var(--brand-purple); color:#fff;
  font-family:var(--font-label); font-size:.6rem; letter-spacing:.08em; text-transform:uppercase;
  padding:.2rem .55rem; border-radius:3px; margin-bottom:.4rem;
}
.people-card.olive .pc-name{ color:var(--brand-olive); }
.people-card.teal  .pc-name{ color:var(--brand-teal); }
.people-card.teal  .pc-role{ color:var(--brand-purple); font-weight:500; }
.pc-badges{ position:absolute; top:10px; left:10px; z-index:2; display:flex; flex-wrap:wrap; gap:.35rem; max-width:calc(100% - 20px); }
.pc-badges .badge-circle{ position:static; width:38px; height:38px; flex:0 0 38px; font-size:.7rem; }
.speaker-filters{ max-width:var(--container-max); margin:0 auto 1.25rem; padding:0 1rem; display:flex; flex-wrap:wrap; gap:.6rem; }
.speaker-pill{ border:1px solid var(--brand-purple); border-radius:999px; background:#fff; color:var(--brand-purple); padding:.48rem .9rem; font:600 .78rem/1.2 var(--font-label); cursor:pointer; transition:background-color .15s,color .15s; }
.speaker-pill:hover,.speaker-pill:focus-visible,.speaker-pill.is-active{ background:var(--brand-purple); color:#fff; }
.speaker-pill:focus-visible{ outline:2px solid var(--text-dark); outline-offset:2px; }
.people-card[hidden]{ display:none; }
.speaker-filter-empty{ max-width:var(--container-max); margin:0 auto 2rem; padding:0 1rem; }

@media (min-width:768px){
  .people-card{ grid-template-columns:180px 1fr; }
  .people-card .pc-info{ padding:1.1rem 1.4rem; }
  .people-card .pc-desc{ padding:0 1.4rem 1.1rem; }
  .people-list--speakers{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1.5rem; padding:0 1.25rem 1rem; }
  .people-list--speakers .people-card{ grid-template-columns:minmax(135px,38%) 1fr; margin:0; border-radius:var(--radius-md); overflow:hidden; }
  .speaker-filters{ padding:0 1.25rem; }
}

/* ---- 11.4 Encabezado de perfil (dos columnas: foto + datos) ---- */
.profile-hero{ position:relative; width:100%; max-width:var(--container-max); margin:0 auto; padding:1.75rem 1.25rem 1.25rem; overflow:hidden; }
.profile-hero .ph-row{ position:relative; z-index:1; display:flex; gap:1rem; align-items:flex-start; }
.profile-hero .ph-photo{ position:relative; flex:0 0 140px; }
.profile-hero .ph-photo img{ width:100%; aspect-ratio:4/5; object-fit:cover; object-position:left top; display:block; }
.profile-hero .ph-name{ font-family:var(--font-display); font-weight:600; font-size:1.6rem; line-height:1.1; margin:0; }
.profile-hero .ph-role{ font-family:var(--font-label); font-weight:600; font-size:.78rem; letter-spacing:.03em; text-transform:uppercase; color:var(--text-dark); margin:.6rem 0 .4rem; }
.profile-hero .ph-loc{ font-size:.82rem; color:var(--text-body); display:flex; align-items:center; gap:.3rem; }
.profile-hero .ph-loc svg{ width:13px; height:13px; fill:var(--brand-purple); }
.profile-hero.olive .ph-name{ color:var(--brand-olive); }
.profile-hero.teal  .ph-name{ color:var(--brand-teal); }

@media (min-width:992px){
  .profile-hero .ph-photo{ flex:0 0 260px; }
  .profile-hero .ph-name{ font-size:2.6rem; }
}

/* ---- 11.5 Bloques de contenido de perfil ---- */
.profile-block{ max-width:var(--container-max); margin:0 auto; padding:1rem 1.25rem; }
.profile-block .pb-eyebrow{ font-family:var(--font-label); font-size:.72rem; letter-spacing:.1em; text-transform:uppercase; color:var(--text-dark); font-weight:600; margin:0 0 .5rem; }
.profile-block .pb-text{ color:var(--text-body); line-height:1.6; margin:0; }
.profile-rule{ max-width:var(--container-max); margin:0 auto; border:none; border-top:1px solid #e2e2e2; }

/* ---- 11.6 Caja de sesión (Conferencia / Design Talk) ---- */
.session-box{ background:var(--card-gray); border-radius:var(--radius-sm); padding:1rem 1.1rem; display:flex; gap:.8rem; align-items:flex-start; }
.session-box .sb-icon{ flex:0 0 auto; width:26px; height:26px; }
.session-box .sb-icon svg{ width:100%; height:100%; fill:var(--brand-purple); }
.session-box .sb-title{ font-weight:700; font-size:.92rem; color:var(--text-dark); margin:0 0 .3rem; }
.session-box .sb-desc{ font-size:.82rem; color:var(--text-body); margin:0; line-height:1.5; }
.session-box .sb-meta{ list-style:none; margin:.5rem 0 0; padding:0; display:flex; flex-direction:column; gap:.4rem; }
.session-box .sb-meta li{ font-size:.82rem; color:var(--text-dark); display:flex; align-items:center; gap:.5rem; }
.session-box .sb-meta svg{ width:15px; height:15px; fill:var(--brand-purple); flex:0 0 auto; }

/* ---- 11.7 Grid de proyectos destacados ---- */
.project-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:.6rem; }
.project-grid .pg-item img{ width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:var(--radius-sm); margin-bottom:.4rem; }
.project-grid .pg-item h4{ font-size:.8rem; font-weight:600; color:var(--text-dark); margin:0 0 .2rem; }
.project-grid .pg-item p{ font-size:.7rem; color:var(--text-body); margin:0; line-height:1.35; }
.project-grid.cols-2{ grid-template-columns:repeat(2,1fr); }

/* ---- 11.8 Lista de redes ---- */
.social-list{ max-width:var(--container-max); margin:0 auto; padding:.25rem 1.25rem 1.5rem; }
.social-list a{
  display:flex; align-items:center; gap:.7rem; padding:.85rem 0;
  border-bottom:1px solid #e2e2e2; font-size:.88rem; color:var(--text-dark); font-weight:500;
}
.social-list svg{ width:20px; height:20px; flex:0 0 auto; }

/* ---- 11.9 Tarjeta de taller (Talleres) ---- */
.workshop-card{ position:relative; max-width:var(--container-max); margin:0 auto 1px; padding-bottom:1.1rem; overflow:hidden; background:var(--card-gray); }
.workshop-card .wc-photo{ position:relative; }
.workshop-card .wc-photo img{ width:100%; aspect-ratio:1/1; object-fit:cover; object-position:center; display:block; }
.workshop-card .wc-content{ padding:.9rem 1.1rem 0; position:relative; z-index:1; }
.workshop-card h3{ font-family:var(--font-display); font-weight:700; font-size:1.05rem; color:var(--brand-coral); margin:0 0 .35rem; }
.workshop-card .wc-by{ font-size:.78rem; font-weight:700; letter-spacing:.02em; color:var(--text-dark); text-transform:uppercase; margin:0 0 .4rem; }
.workshop-card .wc-unit{ font-size:.74rem; font-weight:600; color:var(--brand-coral); margin:-.15rem 0 .5rem; line-height:1.35; }
.workshop-card .wc-desc{ font-size:.82rem; color:var(--text-body); line-height:1.5; margin:0; }

@media (min-width:768px){
  .workshop-list{ max-width:var(--container-max); margin:0 auto; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1.5rem; padding:0 1.25rem; }
  .workshop-card{ margin:0; padding-bottom:1.1rem; border-radius:var(--radius-md); }
}

/* ---- 11.10 Tarjeta de Design Talk (autocontenida, fondo gris) ---- */
.dtalk-card{ background:var(--card-gray); max-width:var(--container-max); margin:0 auto 1px; padding-bottom:1.1rem; position:relative; overflow:hidden; }
.dtalk-card .dtk-photo{ position:relative; }
.dtalk-card .dtk-photo img{ width:100%; aspect-ratio:16/10; object-fit:cover; object-position:left top; display:block; }
.dtalk-grid--three .dtalk-card .dtk-photo img{ aspect-ratio:1/1; object-position:center; }
.dtalk-grid--three .dtk-photo .activity-image-placeholder,
.workshop-card .wc-photo .activity-image-placeholder{ min-height:0; aspect-ratio:1/1; }
.dtalk-card .dtk-body{ padding:.9rem 1.1rem 0; position:relative; z-index:1; }
.dtalk-card h3{ font-family:var(--font-display); font-weight:700; font-size:1.05rem; color:var(--brand-magenta); margin:0 0 .3rem; }
.dtalk-card .dtk-by{ font-weight:700; font-size:.78rem; letter-spacing:.02em; text-transform:uppercase; color:var(--text-dark); margin:0 0 .4rem; }
.dtalk-card .dtk-by a{ color:inherit; text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:2px; }
.dtalk-card .dtk-by a:hover{ color:var(--brand-magenta); }
.dtalk-card .dtk-unit{ font-size:.74rem; font-weight:600; color:var(--brand-magenta); margin:-.15rem 0 .5rem; line-height:1.35; }
.dtalk-card .dtk-desc{ font-size:.82rem; color:var(--text-body); line-height:1.5; margin:0; }
.conference-grid .dtalk-card .dtk-photo img,.conference-grid .dtk-photo .activity-image-placeholder{ aspect-ratio:1/1; object-position:center; min-height:0; }
.conference-card h3,.conference-card .dtk-unit,.conference-card .dtk-by a:hover{ color:var(--brand-olive); }
.info-sesion{ margin:.75rem 0; padding:.65rem 0; border-top:1px solid rgba(0,0,0,.12); border-bottom:1px solid rgba(0,0,0,.12); color:var(--text-body); font-size:.78rem; line-height:1.45; }
.info-sesion strong,.info-sesion span{ display:block; }
.info-sesion strong{ margin-bottom:.2rem; }

@media (min-width:768px){
  .dtalk-grid{ max-width:var(--container-max); margin:0 auto; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1.5rem; padding:0 1.25rem; }
  .dtalk-grid.dtalk-grid--three{ grid-template-columns:repeat(3,minmax(0,1fr)); }
  .dtalk-card{ margin:0; border-radius:var(--radius-md); overflow:hidden; }
}

/* ---- Participantes de mesas de discusión ---- */
.activity-participants-section{ padding-top:1.6rem; padding-bottom:2rem; }
.activity-participants{ display:grid; gap:.75rem; margin-top:.8rem; }
.activity-participant{ display:flex; align-items:center; gap:.85rem; padding:.75rem; color:var(--text-dark); background:var(--card-gray); border-radius:var(--radius-sm); text-decoration:none; }
.activity-participant:hover{ color:var(--brand-teal); }
.activity-participant img,.participant-initials{ width:64px; height:64px; flex:0 0 64px; border-radius:50%; object-fit:cover; }
.participant-initials{ display:grid; place-items:center; color:#fff; background:var(--brand-teal); font-weight:700; }
.activity-participant strong{ display:block; font-size:.92rem; }
.activity-participant small{ display:block; margin-top:.2rem; color:var(--text-body); line-height:1.35; }
@media (min-width:768px){ .activity-participants{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (min-width:992px){ .activity-participants{ grid-template-columns:repeat(3,minmax(0,1fr)); } }

/* ---- Tarjetas de mesas de discusión sin imagen representativa ---- */
.panel-list{ width:100%; max-width:var(--container-max); margin:0 auto; padding:0 1rem 1rem; display:grid; gap:1.25rem; }
.panel-card{ background:var(--card-gray); border-radius:var(--radius-md); padding:1rem; overflow:hidden; }
.panel-card-heading{ display:flex; align-items:flex-start; gap:.8rem; }
.panel-card-heading>.badge-circle{ position:static; flex:0 0 44px; }
.panel-card h3{ margin:0 0 .3rem; font-family:var(--font-display); font-size:1.1rem; line-height:1.2; }
.panel-card h3{ color:var(--brand-teal); }
.panel-card--workshop h3{ color:var(--brand-coral); }
.panel-card-subtitle{ margin:0 0 .25rem; color:var(--text-dark); font-size:.82rem; font-weight:600; }
.panel-card-unit{ margin:0; color:var(--brand-teal); font-size:.76rem; font-weight:600; }
.panel-card-description{ margin:.85rem 0; color:var(--text-body); font-size:.82rem; line-height:1.5; }
.panel-card-participants{ display:grid; gap:.6rem; margin:.85rem 0; }
.panel-card-participant{ display:flex; align-items:center; gap:.7rem; min-width:0; color:var(--text-dark); text-decoration:none; }
.panel-card-participant:hover strong{ color:var(--brand-teal); }
.panel-card--workshop .panel-card-participant:hover strong{ color:var(--brand-coral); }
.panel-card-participant img,.panel-card-participant .participant-initials{ width:64px; height:64px; flex:0 0 64px; border-radius:10%; object-fit:cover; }
.panel-card-participant strong,.panel-card-participant small{ display:block; }
.panel-card-participant strong{ font-size:.86rem; line-height:1.25; }
.panel-card-participant small{ margin-top:.15rem; color:var(--text-body); font-size:.72rem; }
@media (min-width:768px){
  .panel-list{ padding:0 1.25rem 1rem; }
  .panel-card{ padding:1.25rem; }
  .panel-card-participants{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (min-width:992px){ .panel-card-participants{ grid-template-columns:repeat(3,minmax(0,1fr)); } }

@media (min-width:1200px){
  .panel-list{
    width:100%;
    max-width:var(--container-max);
    grid-template-columns:repeat(2,minmax(0,1fr));
    padding-right:1.25rem;
    padding-left:1.25rem;
  }
}

/* ---- 11.11 Badges circulares sobre foto (reutiliza badge-circle) ---- */
.badge-circle.on-photo{ position:absolute; top:10px; left:10px; width:38px; height:38px; font-size:.7rem; }

/* ---- 11.12 Pie: bloque de logos (imagen compartida site-wide) ---- */
.site-footer-img.inner-page{ border-top:1px solid #e2e2e2; }

/* ---- 11.13 Encabezado de perfil centrado (Perfil Design Talk) ---- */
.profile-hero-centered{ position:relative; max-width:640px; margin:0 auto; padding:1.75rem 1.25rem 1rem; text-align:center; overflow:hidden; }
.profile-hero-centered .phc-photo{ position:relative; display:inline-block; margin-bottom:1rem; }
.profile-hero-centered .phc-photo img{ width:210px; aspect-ratio:4/5; object-fit:cover; object-position:left top; border-radius:var(--radius-sm); display:block; }
.profile-hero-centered .phc-eyebrow{ font-family:var(--font-label); font-size:.68rem; letter-spacing:.2em; text-transform:uppercase; color:var(--text-body); margin:0 0 .3rem; }
.profile-hero-centered .phc-name{ font-family:var(--font-display); font-weight:700; font-size:1.6rem; margin:0 0 .3rem; color:var(--text-dark); }
.profile-hero-centered .phc-meta{ font-size:.85rem; color:var(--text-body); display:flex; align-items:center; justify-content:center; gap:.5rem; }

/* Desktop — antes esta sección NO tenía ningún ajuste a partir de 992px,
   por eso en escritorio se quedaba fija en 640px de ancho y con la foto
   pequeña: se veía como una columna angosta flotando en medio de la
   pantalla, "rota" respecto al resto del sitio (que sí escala en desktop).
   El bloque .dt-narrow (usado en las secciones hermanas de esta página)
   comparte el mismo max-width para que todo crezca junto. */
@media (min-width:992px){
  .profile-hero-centered{ padding:3rem 2rem 1.5rem; max-width:820px; }
  .profile-hero-centered .phc-photo img{ width:300px; }
  .profile-hero-centered .phc-eyebrow{ font-size:.78rem; }
  .profile-hero-centered .phc-name{ font-size:2.4rem; }
  .profile-hero-centered .phc-meta{ font-size:1rem; }
}

/* Contenedor angosto reutilizable de esta página (reemplaza los
   style="max-width:640px" inline que había en el HTML — un estilo inline
   no puede ser sobreescrito por un media query, así que la página nunca
   podía ensancharse en escritorio hasta que se movió a esta clase). */
.dt-narrow{ max-width:640px; margin:0 auto; }
@media (min-width:992px){
  .dt-narrow{ max-width:820px; }
  .dt-narrow .pb-text{ font-size:1rem; }
  .dt-narrow .project-grid.cols-2{ gap:1.5rem; }
  .dt-narrow .project-grid.cols-2 .pg-item h4{ font-size:.95rem; }
  .dt-narrow .project-grid.cols-2 .pg-item p{ font-size:.82rem; }
  .dt-narrow .session-box{ padding:1.5rem 1.75rem; }
  .dt-narrow .sb-title{ font-size:1.1rem; }
}

/* Caja de sesión en tono lavanda (variante centrada) */
.session-box.lavender{ background:#F1EBFB; text-align:left; }
.session-box.lavender .sb-title{ color:var(--brand-purple); }

/* ---- 11.14 Chip de cuenta (perfil institucional en Perfil Design Talk) ---- */
.account-chip{ display:flex; align-items:center; gap:.7rem; }
.account-chip .ac-avatar{
  width:38px; height:38px; border-radius:50%; background:var(--brand-purple); color:#fff;
  display:flex; align-items:center; justify-content:center; font-family:var(--font-display); font-weight:700; font-size:.8rem; flex:0 0 auto;
}
.account-chip .ac-name{ font-weight:700; font-size:.88rem; color:var(--text-dark); margin:0; }
.account-chip .ac-sub{ font-size:.76rem; color:var(--text-body); margin:0; }

/* ============================================================
   12. FOOTER FINAL — logos individuales + enlaces reales
   Sustituye a .site-footer-img (una sola imagen aplanada de 402px de
   ancho, estirada con max-width:520px → se veía borrosa por el escalado,
   y no era clicable). Cada logo es ahora su propio archivo recortado a
   su tamaño nativo del mockup, así que no hay upscaling; el techo de
   nitidez lo pone la fuente (el mockup original solo existe a 402px de
   ancho), pero al ya no estirarse dentro de un compuesto se ve mucho
   más limpio. Solo se linkean los 3 elementos de los que se dio URL;
   el resto son marcas institucionales sin URL confirmada.
   ============================================================ */
.site-footer-links{
  background: var(--brand-purple);
  margin-top:auto;
  border-top:1em solid #fff;
  padding:1.5rem 1rem 1.75rem;
  overflow:hidden; /* nunca deja que un logo empuje scroll horizontal */
}
/* Mobile-first: 3 columnas en una sola fila (seal · links · badges),
   igual que en el mockup original (footer nunca se apila en el diseño
   aprobado, ni siquiera a 320px) — solo cambia el tamaño de cada elemento
   según el ancho disponible. */
.site-footer-links .footer-grid1, .site-footer-links .footer-grid2 {
  max-width:var(--container-max); margin:0 auto 1em;
  display:flex; flex-wrap:wrap; align-items:flex-start; row-gap:1.5rem;
  justify-content:center; gap:1.5rem;
}
.site-footer-links .footer-grid2{ flex-direction:column; align-items:center; }

.footer-seal{ display:flex; flex-direction:column; align-items:center; text-align:center; flex:0 0 auto; }
.footer-seal img{ width:64px; height:auto; }

/* Links del footer: ícono + texto (el texto ya viene integrado en el
   propio logo/imagen), apilados en columna — igual que en el mockup
   original. flex-wrap:wrap en el grid es la red de seguridad: si en
   algún ancho no alcanza el espacio para las 3 columnas en una fila,
   el grupo que no cabe pasa a una segunda línea en vez de recortarse
   o desbordar. */
.footer-links-col{ display:flex; flex-direction:column; align-items:flex-start; gap:.6rem; flex:0 0 auto; }
.footer-links-col a{
  display:block; transition:opacity .15s; line-height:0;
}
.footer-links-col a:hover{ opacity:.7; }
.footer-links-col a img{ height:45px; width:auto; display:block; }

.footer-badges-col{ display:flex; flex-direction:column; align-items:flex-start; gap:.5rem; flex:0 0 auto; }
.footer-badges-col .badge-wdo{ height:44px; width:auto; display:block; }
.footer-badges-row{ display:flex; align-items:flex-start; gap:.6rem; }
.footer-badges-row .badge-ied{ height:22px; width:auto; display:block; }
.footer-badges-row .badge-icod{ height:40px; width:auto; display:block; }

@media (min-width:480px){
  .site-footer-links{ padding:1.75rem 1.25rem 2rem; }
  .site-footer-links .footer-grid1, .site-footer-links .footer-grid2{ gap:2rem; }
  .footer-seal img{ width:76px; }
  .footer-links-col{ gap:.7rem; }
  .footer-links-col a img{ height:45px; }
  .footer-badges-col .badge-wdo{ height:50px; }
  .footer-badges-row .badge-ied{ height:24px; }
  .footer-badges-row .badge-icod{ height:46px; }
}
@media (min-width:768px){
  .site-footer-links .footer-grid1, .site-footer-links .footer-grid2{ justify-content:center; gap:3rem; }
  .site-footer-links .footer-grid2{ flex-direction:row; flex-wrap:nowrap; align-items:center; }
  .footer-seal img{ width:90px; }
  .footer-links-col{ flex-direction:row; align-items:center; gap:.8rem; }
  .footer-links-col a img{ height:45px; }
  .footer-badges-col .badge-wdo{ height:56px; }
  .footer-badges-row .badge-ied{ height:26px; }
  .footer-badges-row .badge-icod{ height:52px; }
}
@media (min-width:992px){
  .site-footer-links{ padding:2.5rem 2rem 2.5rem; }
  .site-footer-links .footer-grid1, .site-footer-links .footer-grid2{ flex-wrap:nowrap; justify-content:center; gap:4rem; }
  .footer-seal img{ width:100px; }
  .footer-links-col{ gap:.9rem; }
  .footer-links-col a img{ height:45px; }
  .footer-badges-col .badge-wdo{ height:60px; }
  .footer-badges-row .badge-ied{ height:28px; }
  .footer-badges-row .badge-icod{ height:56px; }
}
/* Reserva el espacio visual cuando una actividad aún no tiene imagen. */
.activity-image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 220px;
  background: linear-gradient(135deg, #eee9f1, #d9d0df);
}
