/* Micrositios de talleres — Congreso SHAJAH 2026.
   Misma identidad que shajah.info (piedra, dorado, Bebas Neue + Barlow Condensed);
   el vino del encabezado sale de las fotos de los talleristas. */

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

:root {
  --gold:       #8B6914;
  --gold-mid:   #A07820;
  --gold-lt:    #C9A84C;
  --stone:      #C8C2B8;
  --ink:        #1A1714;
  --ink-soft:   #3D3830;
  --ink-muted:  #6B6358;
  --border:     rgba(139,105,20,0.3);
  --vino:       #3A2030;
  --vino-2:     #4D2C41;
  --crema:      #F5EEE3;
  --ff-display: 'Bebas Neue', 'Arial Narrow', Arial, sans-serif;
  --ff-body:    'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background-color: #D8D4CE;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)' opacity='0.18'/%3E%3C/svg%3E");
  color: var(--ink);
  font-family: var(--ff-body);
  font-size: 23px;
  line-height: 1.55;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }

.t-wrap { max-width: 1160px; margin: 0 auto; padding: 0 48px; }

/* ─── NAV (igual que la página principal) ─────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 48px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(218,214,208,0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-logo { font-family: var(--ff-display); font-size: 33px; letter-spacing: 0.16em; color: var(--gold); text-decoration: none; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  font-size: 17px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-soft); text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.activo { color: var(--gold); }
.nav-cta {
  font-size: 17px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--stone); background: var(--gold); padding: 10px 26px; text-decoration: none; transition: background 0.2s;
}
.nav-cta:hover { background: var(--gold-mid); }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  width: 36px; height: 36px; background: none; border: none; padding: 0; cursor: pointer;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); transition: transform 0.25s ease, opacity 0.2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; top: 0; left: 0; right: 0; z-index: 99;
  background: #DAD6D0; border-bottom: 1px solid var(--border);
  box-shadow: 0 12px 24px rgba(20,16,10,0.18);
  padding: 84px 28px 28px; display: flex; flex-direction: column;
  transform: translateY(-12px); opacity: 0; visibility: hidden; pointer-events: none;
  transition: transform 0.25s ease, opacity 0.2s ease, visibility 0.25s;
  max-height: 100vh; overflow-y: auto;
}
.mobile-menu.is-open { transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto; }
.mobile-menu a {
  font-size: 22px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; padding: 16px 0; border-bottom: 1px solid var(--border);
}
.mobile-menu a:hover { color: var(--gold); }

/* ─── BOTONES ─────────────────────────────────────────────────── */
.btn-primary, .btn-ghost {
  display: inline-block; font-size: 18px; letter-spacing: 0.2em; text-transform: uppercase;
  text-decoration: none; text-align: center; cursor: pointer; transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.btn-primary { font-weight: 700; color: #F5F0E8; background: var(--gold); padding: 15px 36px; }
.btn-primary:hover { background: var(--gold-mid); }
.btn-ghost { font-weight: 600; color: var(--ink); border: 2px solid var(--ink-muted); padding: 13px 34px; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ─── ENCABEZADO ──────────────────────────────────────────────── */
.t-hero {
  position: relative; z-index: 2;
  background:
    radial-gradient(ellipse 55% 80% at 88% 38%, rgba(201,168,76,0.20), transparent 62%),
    linear-gradient(165deg, var(--vino) 0%, var(--vino-2) 58%, #35202D 100%);
  color: var(--crema);
  padding: 150px 0 70px;
  border-bottom: 3px solid var(--gold);
}
.t-hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.t-num {
  position: absolute; left: -2%; bottom: -0.2em;
  font-family: var(--ff-display); font-size: clamp(240px, 36vw, 520px); line-height: 1;
  color: transparent; -webkit-text-stroke: 2px rgba(201,168,76,0.30);
}
.t-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.t-hero-copy { padding-top: 6px; }

.t-back {
  display: inline-block; margin-bottom: 34px; font-size: 16px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-lt); text-decoration: none; border-bottom: 1px solid transparent;
}
.t-back:hover { border-bottom-color: var(--gold-lt); }

.t-kicker {
  display: flex; align-items: center; gap: 14px; margin-bottom: 18px;
  font-size: 16px; font-weight: 700; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold-lt);
}
.t-kicker::before { content: ''; width: 46px; height: 2px; background: var(--gold-lt); }
.t-kicker b { font-weight: 700; color: var(--crema); }

.t-title {
  font-family: var(--ff-display); font-weight: 400;
  font-size: clamp(62px, 9.6vw, 142px); line-height: 0.88; letter-spacing: 0.035em;
  text-transform: uppercase; color: var(--crema);
}
.t-title--largo { font-size: clamp(50px, 7.6vw, 100px); }
.t-by {
  margin-top: 26px; font-size: 22px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-lt);
}
.t-by strong { color: var(--crema); font-weight: 700; }
.t-lead {
  margin-top: 26px; max-width: 24em; font-size: 31px; font-weight: 500; line-height: 1.38; color: rgba(245,238,227,0.9);
}
.t-chips { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.t-chips li {
  font-size: 17px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 8px 16px; border: 1px solid var(--gold-lt); color: var(--gold-lt);
}

/* Foto: copia impresa, ligeramente chueca, con sombra dura dorada. Se encima sobre la sección de abajo. */
.t-photo {
  position: relative; z-index: 3; width: 100%; max-width: 410px; justify-self: end;
  align-self: end; margin-bottom: -120px;
  transform: rotate(2.4deg);
  border: 9px solid #EFE7D8;
  box-shadow: 18px 18px 0 var(--gold), 0 30px 60px rgba(0,0,0,0.35);
  background: var(--vino-2);
}
.t-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }

/* ─── CUERPO ──────────────────────────────────────────────────── */
.t-body { position: relative; z-index: 1; padding: 90px 0 90px; }
.t-body-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 72px; align-items: start; }
.t-main { max-width: 760px; }

.t-label {
  display: block; margin-bottom: 12px;
  font-family: var(--ff-display); font-size: 27px; letter-spacing: 0.22em; color: var(--gold); text-transform: uppercase;
}
.t-label--claro { color: var(--gold-lt); }

.t-p { font-size: 28px; line-height: 1.6; color: var(--ink-soft); }
.t-p + .t-p { margin-top: 24px; }

.t-dirigido { margin-bottom: 44px; padding-bottom: 36px; border-bottom: 1px solid var(--border); }
.t-dirigido p { font-size: 31px; font-weight: 500; line-height: 1.45; color: var(--ink); }

.t-idea {
  margin: 8px 0 0 -40px; padding: 34px 38px 34px 40px;
  background: var(--ink); color: #F0EAE0; border-left: 9px solid var(--gold);
  box-shadow: 12px 12px 0 rgba(139,105,20,0.25);
}
.t-idea p { font-size: 30px; font-weight: 500; line-height: 1.5; }

.t-p + .t-idea, .t-p + .t-cierre, .t-p + .t-pregunta { margin-top: 40px; }

.t-cierre {
  margin-top: 40px; padding-left: 26px; border-left: 6px solid var(--gold);
  font-size: 32px; font-weight: 600; line-height: 1.38; color: var(--ink);
}

.t-pregunta { margin-top: 48px; }
.t-pregunta-intro { display: block; font-size: 18px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.t-pregunta p {
  font-family: var(--ff-display); font-size: clamp(48px, 6.4vw, 88px); line-height: 0.95; letter-spacing: 0.03em;
  color: var(--vino); text-transform: uppercase;
}

/* Columna lateral */
.t-aside { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 22px; padding-top: 72px; }
.t-card { background: rgba(240,236,230,0.78); border: 1px solid var(--border); padding: 28px 28px 26px; }
.t-card-big { font-family: var(--ff-display); font-size: 40px; line-height: 1; letter-spacing: 0.05em; color: var(--ink); text-transform: uppercase; }
.t-card-hora { color: var(--gold); margin-top: 4px; }
.t-card-line { margin-top: 12px; font-size: 22px; font-weight: 600; color: var(--ink-soft); }
.t-card-dir { font-weight: 400; color: var(--ink-muted); font-size: 21px; }
.t-card-link { display: inline-block; margin-top: 16px; font-size: 17px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); text-decoration: none; border-bottom: 1px solid var(--gold); }
.t-acciones { display: flex; flex-direction: column; gap: 12px; }

/* ─── QUIÉN LO IMPARTE ────────────────────────────────────────── */
.t-who { position: relative; z-index: 1; background: var(--ink); color: #F0EAE0; padding: 86px 0; border-top: 3px solid var(--gold); }
.t-who-grid { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 72px; align-items: center; }
.t-who-grid:not(:has(.t-video)) { grid-template-columns: minmax(0, 1fr); }
.t-video {
  width: 100%; aspect-ratio: var(--ratio, 4 / 5); background: #000;
  box-shadow: -16px 16px 0 var(--gold); transform: rotate(-1.4deg);
}
.t-video video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.t-who .t-kicker { color: var(--gold-lt); }
.t-who-name { font-family: var(--ff-display); font-weight: 400; font-size: clamp(54px, 7.2vw, 104px); line-height: 0.92; letter-spacing: 0.04em; text-transform: uppercase; color: var(--crema); }
.t-who-role { margin-top: 16px; font-size: 19px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-lt); }
.t-who .t-p { margin-top: 26px; color: rgba(240,234,224,0.86); max-width: 28em; }
.t-ig { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; font-size: 19px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-lt); text-decoration: none; border-bottom: 1px solid var(--gold-lt); padding-bottom: 3px; }
.t-who-hint { margin-top: 30px; font-size: 22px; font-style: italic; color: rgba(240,234,224,0.6); }

/* ─── LISTA DE TALLERES ───────────────────────────────────────── */
.t-otros { position: relative; z-index: 1; padding: 90px 0 80px; }
.t-otros-title { font-family: var(--ff-display); font-weight: 400; font-size: clamp(70px, 10vw, 128px); line-height: 0.88; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink); }
.t-otros-nota { margin-top: 20px; max-width: 30em; font-size: 25px; color: var(--ink-muted); }
.t-lista { list-style: none; margin-top: 40px; border-top: 2px solid var(--ink); }
.t-fila {
  display: grid; grid-template-columns: 70px minmax(0, 1fr) 230px 120px; gap: 18px; align-items: baseline;
  padding: 20px 18px; border-bottom: 1px solid var(--border); text-decoration: none; color: var(--ink);
  transition: background 0.2s;
}
a.t-fila:hover { background: rgba(139,105,20,0.12); }
.t-fila-n { font-family: var(--ff-display); font-size: 44px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--gold); }
.t-fila-t { font-family: var(--ff-display); font-size: 42px; line-height: 1; letter-spacing: 0.04em; text-transform: uppercase; }
.t-fila-p { font-size: 22px; font-weight: 600; color: var(--ink-muted); letter-spacing: 0.06em; }
.t-fila-go { font-size: 17px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); justify-self: end; }
.t-lista li.actual .t-fila { background: var(--gold); color: #F5F0E8; }
.t-lista li.actual .t-fila-n { -webkit-text-stroke-color: #F5F0E8; }
.t-lista li.actual .t-fila-p, .t-lista li.actual .t-fila-go { color: #F5F0E8; }

/* ─── CIERRE + PIE ────────────────────────────────────────────── */
.t-cta { position: relative; z-index: 1; padding: 20px 0 80px; }
.t-cta-in { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.t-cta-title { font-family: var(--ff-display); font-weight: 400; font-size: clamp(60px, 8vw, 104px); line-height: 0.9; letter-spacing: 0.04em; text-transform: uppercase; color: var(--gold); }
.t-cta-sub { margin-top: 12px; font-size: 20px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-muted); }
.t-cta-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.t-volver { font-size: 17px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-muted); text-decoration: none; padding: 0 8px; }
.t-volver:hover { color: var(--gold); }

.t-footer { position: relative; z-index: 1; background: var(--ink); border-top: 2px solid var(--gold); padding: 44px 0; }
.t-footer-in { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.footer-logo { font-family: var(--ff-display); font-size: 32px; letter-spacing: 0.16em; color: var(--gold); text-transform: uppercase; }
.footer-text { font-size: 15px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(195,187,177,0.5); }
.t-social { display: flex; gap: 22px; flex-wrap: wrap; }
.t-social a { display: inline-flex; align-items: center; gap: 8px; font-size: 19px; font-weight: 600; letter-spacing: 0.08em; color: var(--gold-lt); text-decoration: none; }
.t-social a:hover { color: #E4C877; }
.footer-host { font-size: 19px; color: rgba(195,187,177,0.6); }
.footer-host a { color: var(--gold-lt); text-decoration: none; }

/* ─── MENÚ DE TODOS LOS TALLERES (/talleres/) ─────────────────── */
.t-hero--hub { padding-bottom: 80px; }
.t-hub-head { position: relative; }
.t-hub-head .t-lead { max-width: 26em; }
.t-hub { position: relative; z-index: 1; padding: 70px 0 70px; }
.h-lista { list-style: none; }
.h-row + .h-row { margin-top: 18px; }
.h-link {
  display: grid; grid-template-columns: 84px 150px minmax(0, 1fr) 56px; gap: 26px; align-items: center;
  padding: 18px 22px 18px 8px; background: rgba(240,236,230,0.7); border: 1px solid var(--border);
  text-decoration: none; color: var(--ink); transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.h-link:hover { transform: translate(-4px, -4px); box-shadow: 8px 8px 0 var(--gold); background: #F4F0EA; }
.h-n { font-family: var(--ff-display); font-size: 74px; line-height: 1; color: transparent; -webkit-text-stroke: 1.6px var(--gold); text-align: center; }
.h-foto { display: block; border: 5px solid #EFE7D8; box-shadow: 4px 4px 0 var(--vino-2); transform: rotate(-1.6deg); }
.h-foto img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.h-row:nth-child(even) .h-foto { transform: rotate(1.6deg); }
.h-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.h-titulo { font-family: var(--ff-display); font-size: clamp(38px, 5vw, 58px); line-height: 0.95; letter-spacing: 0.04em; text-transform: uppercase; }
.h-ponente { font-size: 20px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.h-lead { margin-top: 8px; font-size: 24px; line-height: 1.4; color: var(--ink-soft); max-width: 32em; }
.h-cuando { margin-top: 6px; font-size: 17px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-muted); }
.h-go { font-family: var(--ff-display); font-size: 54px; color: var(--gold); text-align: right; transition: transform 0.2s; }
.h-link:hover .h-go { transform: translateX(6px); }

/* ─── RESPONSIVO ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  body { font-size: 21px; }
  .t-wrap { padding: 0 24px; }
  .nav { padding: 14px 24px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .t-hero { padding: 104px 0 56px; }
  .t-hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .t-photo { justify-self: center; align-self: start; max-width: 340px; margin-bottom: -110px; transform: rotate(1.8deg); box-shadow: 12px 12px 0 var(--gold), 0 24px 50px rgba(0,0,0,0.35); }
  .t-back { margin-bottom: 24px; }
  .t-lead { font-size: 26px; }

  .t-body { padding: 150px 0 64px; }
  .t-body-grid { grid-template-columns: 1fr; gap: 40px; }
  .t-aside { position: static; padding-top: 0; }
  .t-p { font-size: 25px; }
  .t-dirigido p { font-size: 27px; }
  .t-idea { margin-left: 0; padding: 26px 24px 26px 26px; border-left-width: 7px; box-shadow: 8px 8px 0 rgba(139,105,20,0.25); }
  .t-idea p { font-size: 26px; }
  .t-cierre { font-size: 28px; }

  .t-who { padding: 64px 0; }
  .t-who-grid { grid-template-columns: 1fr; gap: 44px; }
  .t-video { max-width: 360px; margin: 0 auto 6px; box-shadow: -10px 10px 0 var(--gold); }

  .t-otros { padding: 64px 0 56px; }
  .t-fila { grid-template-columns: 48px minmax(0, 1fr) auto; row-gap: 2px; padding: 16px 10px; }
  .t-fila-n { font-size: 34px; grid-row: span 2; align-self: center; }
  .t-fila-t { font-size: 34px; grid-column: 2; }
  .t-fila-p { grid-column: 2; font-size: 19px; }
  .t-fila-go { grid-row: 1 / span 2; grid-column: 3; align-self: center; }

  .t-cta { padding-bottom: 56px; }
  .t-cta-in { align-items: flex-start; }
  .t-footer-in { flex-direction: column; text-align: center; align-items: center; }

  .t-hub { padding: 48px 0; }
  .h-link { grid-template-columns: 112px minmax(0, 1fr); gap: 14px 18px; padding: 14px; }
  .h-n { display: none; }
  .h-go { display: none; }
  .h-lead { font-size: 21px; }
}
@media (max-width: 480px) {
  .t-photo { max-width: 290px; }
  .t-lead { font-size: 24px; }
  .btn-primary, .btn-ghost { padding-left: 20px; padding-right: 20px; }
  .t-acciones .btn-primary, .t-acciones .btn-ghost { width: 100%; }
  .t-cta-btns { width: 100%; flex-direction: column; align-items: stretch; }
  .h-link { grid-template-columns: 92px minmax(0, 1fr); }
  .h-lead { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .h-link, .h-go, .t-fila { transition: none; }
}
