/*
Theme Name: Wiki Express Connect
Theme URI: https://wiki-express.com
Description: Tema hijo para Wiki Express Connect — Academia de Profesionales Técnicos. Diseño tipo taller técnico con tickets, planos y fichas de trabajo.
Author: Wiki Express Connect
Author URI: https://taller.mx
Template: generatepress
Version: 2.0.0
License: GPL-2.0+
Text Domain: taller-academia
*/

/* ============================================
   SISTEMA DE DISEÑO — TOKENS
   ============================================ */
:root {
  --ink:      #12181f;
  --paper:    #ede7da;
  --paper2:   #e3dcc9;
  --paper3:   #d9d0b8;
  --safety:   #e8622c;
  --circuit:  #2f8f82;
  --steel:    #6b7280;
  --brass:    #c99a3e;
}

/* ============================================
   RESET & BASE (anula estilos de GeneratePress)
   ============================================ */
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  max-width: 100vw;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  margin: 0;
}

/* Layout full-width sin restricciones de GP */
.site-content {
  padding: 0 !important;
  max-width: 100% !important;
  display: block !important;
  flex-direction: column !important;
}

.site-main {
  margin: 0 !important;
}

.container.grid-container,
.separate-containers .site-main,
.inside-article {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
}

/* ============================================
   TIPOGRAFÍA
   ============================================ */
h1, h2, h3, h4, .display {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.mono {
  font-family: 'JetBrains Mono', monospace;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--circuit);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* ============================================
   UTILIDADES
   ============================================ */
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ============================================
   BOTONES
   ============================================ */
.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 600;
  font-family: 'JetBrains Mono';
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
}

.btn-solid {
  background: var(--ink);
  color: var(--paper);
}

.btn-solid:hover {
  background: var(--safety);
}

.btn-line {
  border: 1.5px solid var(--ink);
  color: var(--ink);
  background: transparent;
}

.btn-safety {
  background: var(--safety);
  color: var(--ink);
  font-weight: 700;
}

.btn-safety:hover {
  background: #ff7644;
}

.btn-outline-light {
  border: 1.5px solid #444d59;
  color: var(--paper);
  background: transparent;
}

/* ============================================
   HEADER (propio, reemplaza GP)
   ============================================ */
.taller-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(237, 231, 218, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--paper3);
}

.taller-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 32px;
  max-width: 1180px;
  margin: 0 auto;
}

.taller-logo {
  font-family: 'Space Grotesk';
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--ink);
}

.taller-logo span {
  color: var(--safety);
}

.taller-navlinks {
  display: flex;
  gap: 32px;
  font-size: 14px;
  font-weight: 500;
  list-style: none;
  margin: 0;
  padding: 0;
}

.taller-navlinks a {
  color: var(--steel);
  transition: color .15s;
}

.taller-navlinks a:hover {
  color: var(--ink);
}

.taller-navcta {
  display: flex;
  align-items: center;
  gap: 18px;
}

/* ============================================
   HERO
   ============================================ */
.taller-hero {
  background: var(--ink);
  background-image:
    linear-gradient(rgba(63, 201, 176, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(63, 201, 176, 0.09) 1px, transparent 1px);
  background-size: 34px 34px;
  color: var(--paper);
  padding: 88px 0 96px;
  position: relative;
  overflow: hidden;
}

/* Contenido del hero por encima del canvas interactivo */
.taller-hero .wrap {
  position: relative;
  z-index: 1;
}

.taller-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono';
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--circuit);
  text-transform: uppercase;
  margin-bottom: 22px;
}

.eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--safety);
  display: inline-block;
  border-radius: 50%;
}

.taller-hero h1 {
  font-size: 52px;
  line-height: 1.05;
  margin-bottom: 22px;
  max-width: 560px;
  color: var(--paper);
}

.taller-hero h1 em {
  color: var(--safety);
  font-style: normal;
}

.taller-hero-desc {
  color: #b8bfc9;
  font-size: 17px;
  line-height: 1.6;
  max-width: 460px;
  margin-bottom: 32px;
}

.taller-hero-ctas {
  display: flex;
  gap: 14px;
  margin-bottom: 44px;
}

.taller-hero-stats {
  display: flex;
  gap: 36px;
}

.stat b {
  display: block;
  font-family: 'Space Grotesk';
  font-size: 24px;
  color: var(--paper);
}

.stat span {
  font-size: 12px;
  color: var(--steel);
  font-family: 'JetBrains Mono';
}

/* Hero search */
.taller-hero-search {
  margin-bottom: 22px;
  max-width: 480px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #1a2129;
  border: 1.5px solid #2e3742;
  border-radius: 4px;
  padding: 14px 16px;
  transition: border-color .15s;
}

.search-box:focus-within {
  border-color: var(--safety);
}

.search-box svg {
  flex: 0 0 auto;
  opacity: 0.6;
}

.search-box input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--paper);
  font-family: 'Inter';
  font-size: 15px;
}

.search-box input::placeholder {
  color: #6d7684;
}

.search-box button {
  background: var(--safety);
  color: var(--ink);
  border: none;
  padding: 8px 14px;
  font-family: 'JetBrains Mono';
  font-size: 12px;
  font-weight: 700;
  border-radius: 2px;
  cursor: pointer;
  text-transform: uppercase;
}

.quick-pills {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.quick-pills span {
  font-family: 'JetBrains Mono';
  font-size: 11px;
  color: #9aa3ad;
  padding: 5px 10px;
  border: 1px solid #2e3742;
  border-radius: 14px;
  cursor: pointer;
}

.quick-pills span:hover {
  border-color: var(--circuit);
  color: var(--circuit);
}

/* Ticket stack */
.ticket-stack {
  position: relative;
  height: 380px;
}

.ticket {
  position: absolute;
  width: 280px;
  background: var(--paper);
  color: var(--ink);
  border-radius: 4px;
  padding: 18px 20px 20px;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.35);
  border: 1px dashed #b8ac8c;
}

.ticket::before,
.ticket::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  background: var(--ink);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}

.ticket::before { left: -8px; }
.ticket::after  { right: -8px; }

.ticket .tcode {
  font-family: 'JetBrains Mono';
  font-size: 11px;
  color: var(--steel);
  margin-bottom: 8px;
}

.ticket h4 {
  font-size: 17px;
  margin-bottom: 6px;
}

.ticket .tmeta {
  font-size: 12px;
  color: var(--steel);
  font-family: 'JetBrains Mono';
}

/* Animación de entrada — los tickets vuelan desde fuera con rebote */
.ticket {
  opacity: 0;
}

@keyframes ticketFly1 {
  0%   { opacity:0; transform: translateY(-48px) translateX(-36px) rotate(-18deg) scale(0.8); }
  55%  { opacity:1; transform: translateY(6px)  translateX(3px)  rotate(-4deg)  scale(1.04); }
  80%  { opacity:1; transform: translateY(-2px) translateX(-1px) rotate(-7deg)  scale(0.98); }
  100% { opacity:1; transform: translateY(0)    translateX(0)    rotate(-6deg)  scale(1); }
}

@keyframes ticketFly2 {
  0%   { opacity:0; transform: translateX(52px) rotate(16deg) scale(0.75); }
  55%  { opacity:1; transform: translateX(-5px) rotate(3deg)  scale(1.04); }
  80%  { opacity:1; transform: translateX(2px)  rotate(5deg)  scale(0.97); }
  100% { opacity:1; transform: translateX(0)    rotate(4deg)  scale(1); }
}

@keyframes ticketFly3 {
  0%   { opacity:0; transform: translateY(56px) translateX(-16px) rotate(10deg) scale(0.7); }
  55%  { opacity:1; transform: translateY(-6px) translateX(2px)  rotate(-3deg) scale(1.05); }
  80%  { opacity:1; transform: translateY(2px)  translateX(-1px) rotate(-1deg) scale(0.97); }
  100% { opacity:1; transform: translateY(0)    translateX(0)    rotate(-2deg) scale(1); }
}

.t1 {
  animation: ticketFly1 0.75s cubic-bezier(0.175,0.885,0.32,1.275) 0.05s forwards;
}
.t2 {
  animation: ticketFly2 0.75s cubic-bezier(0.175,0.885,0.32,1.275) 0.2s forwards;
}
.t3 {
  animation: ticketFly3 0.75s cubic-bezier(0.175,0.885,0.32,1.275) 0.35s forwards;
}

/* ── Oleaje continuo después de la entrada (desktop) ── */
.ticket-stack.drifting .ticket {
  opacity: 1;
}

@keyframes ticketDrift1 {
  0%, 100% { transform: rotate(-6deg) translateY(0); }
  25%      { transform: rotate(-4deg) translateY(-6px); }
  50%      { transform: rotate(-7deg) translateY(0); }
  75%      { transform: rotate(-5deg) translateY(4px); }
}
@keyframes ticketDrift2 {
  0%, 100% { transform: rotate(4deg) translateY(0); }
  25%      { transform: rotate(2deg) translateY(5px); }
  50%      { transform: rotate(5deg) translateY(0); }
  75%      { transform: rotate(3deg) translateY(-5px); }
}
@keyframes ticketDrift3 {
  0%, 100% { transform: rotate(-2deg) translateY(0); }
  25%      { transform: rotate(-1deg) translateY(-4px); }
  50%      { transform: rotate(-3deg) translateY(0); }
  75%      { transform: rotate(-2deg) translateY(4px); }
}

.ticket-stack.drifting .t1 {
  animation: ticketDrift1 5.2s ease-in-out 0.1s infinite;
}
.ticket-stack.drifting .t2 {
  animation: ticketDrift2 4.8s ease-in-out 0.6s infinite;
}
.ticket-stack.drifting .t3 {
  animation: ticketDrift3 5.6s ease-in-out 1.1s infinite;
}

.t1 { top: 0;   left: 20px;  z-index: 3; }
.t2 { top: 100px; left: 110px; z-index: 2; }
.t3 { top: 210px; left: 10px;  z-index: 1; }

/* ============================================
   BARRA DE CONFIANZA
   ============================================ */
.trust-bar {
  background: var(--paper2);
  border-top: 1px solid var(--paper3);
  border-bottom: 1px solid var(--paper3);
  overflow: hidden;
  padding: 16px 0;
}

.trust-inner {
  display: flex;
  gap: 16px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink);
  font-weight: 500;
  flex: 0 0 auto;
}

.trust-item svg {
  flex: 0 0 auto;
  color: var(--circuit);
}

/* ============================================
   RAIL DE CATEGORÍAS
   ============================================ */
.rail {
  padding: 40px 0;
  border-bottom: 1px solid var(--paper3);
  overflow: hidden;
}

.rail-inner {
  display: flex;
  gap: 12px;
  flex-wrap: nowrap;
  white-space: nowrap;
  overflow-x: visible;
}

.chip {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--paper2);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: .15s;
}

.chip.active,
.chip:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: transparent;
}

.chip .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--circuit);
}

/* ============================================
   CATÁLOGO DE CURSOS
   ============================================ */
.taller-catalog {
  padding: 72px 0;
}

.cat-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
}

.cat-head h2 {
  font-size: 32px;
  color: var(--ink);
}

.cat-head p {
  color: var(--steel);
  font-size: 14px;
  margin-top: 6px;
}

.cat-head a {
  font-family: 'JetBrains Mono';
  font-size: 13px;
  color: var(--circuit);
  font-weight: 500;
}

.taller-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* Catálogo como carrusel auto-scroll */
.taller-catalog .taller-grid {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding-bottom: 6px;
  gap: 0;
}
.taller-catalog .taller-grid::-webkit-scrollbar {
  display: none;
}
.taller-catalog .course-card {
  flex: 0 0 300px;
  margin-right: 22px;
  scroll-snap-align: start;
}

.course-card {
  background: var(--paper);
  border: 1px solid var(--paper3);
  border-radius: 6px;
  overflow: hidden;
  transition: transform .18s, box-shadow .18s;
  position: relative;
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(18, 24, 31, 0.12);
}

.course-thumb {
  height: 150px;
  position: relative;
  background-size: cover;
  background-position: center;
  filter: grayscale(0.5) contrast(1.05);
  display: flex;
  align-items: flex-end;
  padding: 14px;
}

.course-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(18, 24, 31, 0.75), rgba(47, 143, 130, 0.35));
  mix-blend-mode: multiply;
}

.course-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(237, 231, 218, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(237, 231, 218, 0.08) 1px, transparent 1px);
  background-size: 14px 14px;
}

.course-thumb .level-badge {
  position: relative;
  z-index: 2;
}

.level-badge {
  font-family: 'JetBrains Mono';
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 9px;
  border-radius: 2px;
  font-weight: 600;
}

.lvl-basico     { background: var(--circuit); color: var(--paper); }
.lvl-intermedio { background: var(--brass);   color: var(--ink); }
.lvl-master     { background: var(--safety);  color: var(--ink); }

.course-body {
  padding: 18px 18px 20px;
}

.course-code {
  font-family: 'JetBrains Mono';
  font-size: 11px;
  color: var(--steel);
  margin-bottom: 6px;
}

.course-body h3 {
  font-size: 17px;
  margin-bottom: 8px;
  line-height: 1.25;
  color: var(--ink);
}
.course-body h3 a {
  color: inherit;
  text-decoration: none;
}
.course-body h3 a:hover {
  color: var(--safety);
}

.course-meta {
  display: flex;
  gap: 14px;
  font-size: 12px;
  color: var(--steel);
  margin-bottom: 16px;
  font-family: 'JetBrains Mono';
}

.syllabus-preview {
  margin-bottom: 14px;
  font-size: 12px;
}

.syllabus-preview summary {
  cursor: pointer;
  color: var(--circuit);
  font-family: 'JetBrains Mono';
  font-size: 11.5px;
  font-weight: 500;
  list-style: none;
  user-select: none;
}

.syllabus-preview summary::-webkit-details-marker {
  display: none;
}

.syllabus-preview ol {
  margin: 10px 0 0 18px;
  color: var(--steel);
  line-height: 1.7;
}

.course-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px dashed var(--paper3);
  padding-top: 14px;
}

.price {
  font-family: 'Space Grotesk';
  font-weight: 700;
  font-size: 18px;
}

.price span {
  font-size: 11px;
  color: var(--steel);
  font-family: 'JetBrains Mono';
  font-weight: 400;
  display: block;
}

.mini-btn {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  font-family: 'JetBrains Mono';
  border-bottom: 1.5px solid var(--safety);
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.taller-how {
  background: var(--paper2);
  padding: 72px 0;
}

.taller-how h2 {
  color: var(--ink);
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 36px;
}

.step {
  position: relative;
  padding-top: 8px;
}

.step .num {
  font-family: 'JetBrains Mono';
  font-size: 13px;
  color: var(--safety);
  margin-bottom: 10px;
  display: block;
}

.step h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.step p {
  font-size: 14px;
  color: var(--steel);
  line-height: 1.6;
}

/* ============================================
   TESTIMONIAL
   ============================================ */
.taller-testi {
  padding: 64px 0;
  text-align: center;
}

.taller-testi blockquote {
  font-family: 'Space Grotesk';
  font-size: 26px;
  line-height: 1.4;
  max-width: 680px;
  margin: 0 auto 20px;
  font-weight: 500;
  color: var(--ink);
}

.taller-testi cite {
  font-family: 'JetBrains Mono';
  font-size: 13px;
  color: var(--steel);
  font-style: normal;
}

/* ============================================
   FOOTER (propio, reemplaza GP)
   ============================================ */
/* ═══════════════════════════════════════
   FOOTER · Estilo Wiki Express adaptado
   ═══════════════════════════════════════ */
.taller-footer {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--paper);
  background: var(--ink);
  border-top: 1px solid rgba(217,208,184,.12);
  position: relative;
  overflow: hidden;
}
.taller-footer * { box-sizing: border-box; margin: 0; padding: 0; }
.taller-footer a { color: inherit; text-decoration: none; }

/* Circuit strip with energy pulses at top */
.taller-footer .circuit {
  position: relative; height: 3px; width: 100%;
  background: rgba(217,208,184,.12);
  overflow: hidden;
}
.taller-footer .circuit::before,
.taller-footer .circuit::after {
  content: ""; position: absolute; top: 0; height: 100%; width: 120px;
  background: linear-gradient(90deg, transparent, var(--brass), transparent);
}
.taller-footer .circuit::before { animation: footFlow 3.2s linear infinite; }
.taller-footer .circuit::after  { animation: footFlow 3.2s linear infinite 1.6s; }
@keyframes footFlow { 0% { left: -120px; } 100% { left: 100%; } }

.taller-footer .fwrap { max-width: 1200px; margin: 0 auto; padding: 48px 24px 26px; }

.taller-footer .ftop {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px; margin-bottom: 38px;
}

/* Brand + animated welding station */
.taller-footer .brand .logo {
  display: flex; align-items: center; gap: 9px;
  font-family: 'Space Grotesk'; font-weight: 700; font-size: 1.25rem; letter-spacing: -.5px;
}
.taller-footer .brand .mark {
  width: 30px; height: 30px; border-radius: 7px;
  background: linear-gradient(135deg, var(--brass), var(--safety));
  display: grid; place-items: center;
  color: #fff; font-weight: 800; font-family: 'JetBrains Mono';
}
.taller-footer .brand .logo small {
  display: block; color: var(--steel); font-weight: 400;
  font-size: .7rem; letter-spacing: 1px; text-transform: uppercase; line-height: 1;
}
.taller-footer .brand p {
  color: var(--steel); font-size: .92rem; margin-top: 14px; max-width: 300px;
}

/* Welding station with sparks */
.taller-footer .weld { position: relative; margin-top: 22px; height: 56px; width: 230px; }
.taller-footer .weld svg { position: absolute; left: 0; top: 0; }
.taller-footer .spark {
  position: absolute; left: 104px; top: 26px; width: 4px; height: 4px; border-radius: 50%;
  background: var(--safety); box-shadow: 0 0 6px 2px rgba(232,98,44,.8); opacity: 0;
}
.taller-footer .s1 { animation: footSpark1 1.4s ease-out infinite; }
.taller-footer .s2 { animation: footSpark2 1.4s ease-out infinite .2s; }
.taller-footer .s3 { animation: footSpark3 1.4s ease-out infinite .4s; }
.taller-footer .s4 { animation: footSpark4 1.4s ease-out infinite .1s; }
.taller-footer .s5 { animation: footSpark5 1.4s ease-out infinite .55s; }
@keyframes footSpark1 { 0% { opacity:1; transform:translate(0,0) scale(1); } 100% { opacity:0; transform:translate(26px,-20px) scale(.2); } }
@keyframes footSpark2 { 0% { opacity:1; transform:translate(0,0) scale(1); } 100% { opacity:0; transform:translate(34px,4px) scale(.2); } }
@keyframes footSpark3 { 0% { opacity:1; transform:translate(0,0) scale(1); } 100% { opacity:0; transform:translate(22px,16px) scale(.2); } }
@keyframes footSpark4 { 0% { opacity:1; transform:translate(0,0) scale(1); } 100% { opacity:0; transform:translate(40px,-8px) scale(.2); } }
@keyframes footSpark5 { 0% { opacity:1; transform:translate(0,0) scale(1); } 100% { opacity:0; transform:translate(30px,-16px) scale(.2); } }

/* Arc glow */
.taller-footer .arc {
  position: absolute; left: 100px; top: 24px; width: 11px; height: 11px; border-radius: 50%;
  background: radial-gradient(circle, #fff, var(--safety) 50%, transparent 70%);
  animation: footArcGlow .9s ease-in-out infinite;
}
@keyframes footArcGlow {
  0%,100% { opacity: .6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.3); }
}

/* Link columns */
.taller-footer .col h5 {
  font-family: 'Space Grotesk'; font-size: .82rem; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--steel); margin-bottom: 16px;
}
.taller-footer .col a {
  display: block; color: #c7cdd6; font-size: .94rem; margin-bottom: 11px;
  transition: color .2s, transform .2s;
}
.taller-footer .col a:hover { color: var(--brass); transform: translateX(3px); }
.taller-footer .socials { display: flex; gap: 11px; margin-top: 6px; }
.taller-footer .socials a {
  width: 38px; height: 38px; border: 1px solid rgba(217,208,184,.15);
  border-radius: 9px; display: grid; place-items: center; color: #c7cdd6;
  transition: all .2s;
}
.taller-footer .socials a svg { width: 18px; height: 18px; display: block; }
.taller-footer .socials a:hover {
  border-color: var(--brass); color: var(--brass); transform: translateY(-2px);
}

.taller-footer .fbottom {
  border-top: 1px solid rgba(217,208,184,.12); padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  color: var(--steel); font-size: .85rem;
}
.taller-footer .fbottom .mono { font-family: 'JetBrains Mono'; font-size: .78rem; }
.taller-footer .toplink {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--brass); font-weight: 600; font-size: .9rem; transition: transform .2s;
}
.taller-footer .toplink:hover { transform: translateY(-2px); }

/* Responsive */
@media (max-width: 820px) { .taller-footer .ftop { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 480px) {
  .taller-footer .ftop { grid-template-columns: 1fr; }
  .taller-footer .fbottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { .taller-footer * { animation: none !important; } }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 860px) {
  .taller-hero-grid { grid-template-columns: 1fr; }
  .ticket-stack {
    height: auto;
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 6px 2px 14px;
    -webkit-overflow-scrolling: touch;
  }
  .ticket {
    position: static;
    flex: 0 0 240px;
    top: auto;
    left: auto;
    animation: ticketMobile 0.55s ease-out forwards;
  }
  @keyframes ticketMobile {
    0%   { opacity:0; transform: translateY(30px); }
    100% { opacity:1; transform: none; }
  }
  .ticket:nth-child(1) { animation-delay: 0.05s; }
  .ticket:nth-child(2) { animation-delay: 0.2s; }
  .ticket:nth-child(3) { animation-delay: 0.35s; }

  /* Oleaje móvil — los tickets flotan como boyas en el agua */
  @keyframes ticketWave1 {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
  }
  @keyframes ticketWave2 {
    0%, 100% { transform: translateY(-4px); }
    50%      { transform: translateY(6px); }
  }
  @keyframes ticketWave3 {
    0%, 100% { transform: translateY(2px); }
    50%      { transform: translateY(-7px); }
  }
  .ticket-stack.drifting .ticket:nth-child(1) {
    animation: ticketWave1 3.8s ease-in-out 0s infinite;
  }
  .ticket-stack.drifting .ticket:nth-child(2) {
    animation: ticketWave2 4.2s ease-in-out 0.4s infinite;
  }
  .ticket-stack.drifting .ticket:nth-child(3) {
    animation: ticketWave3 3.5s ease-in-out 0.8s infinite;
  }
  .taller-grid,
  .how-grid {
    grid-template-columns: 1fr;
  }
  .taller-catalog .taller-grid {
    display: flex;
    flex-wrap: nowrap;
  }
  .taller-catalog .course-card {
    flex: 0 0 260px;
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
  .taller-hero h1 {
    font-size: 34px;
  }
  .taller-navlinks {
    display: none;
  }
  .taller-nav {
    padding: 14px 16px;
  }
  .wrap {
    padding: 0 16px;
  }
  .search-box {
    flex-wrap: wrap;
  }
  .search-box button {
    width: 100%;
  }
  .trust-inner {
    justify-content: flex-start;
  }
}

/* ============================================
   Ocultar elementos de WooCommerce no deseados
   ============================================ */
.woocommerce-breadcrumb,
.woocommerce-result-count,
.woocommerce-ordering,
.woocommerce-products-header,
.woocommerce-pagination {
  display: none;
}

/* ============================================
   UTILIDADES WORDPRESS
   ============================================ */
/* Ocultar admin bar en front para que no interfiera con sticky header */
.admin-bar .taller-header {
  top: 32px;
}

/* Página de producto (single de WooCommerce) — no se usa por ahora */
.woocommerce div.product {
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 32px;
}

/* ============================================
   HEADER LOGO IMAGE
   ============================================ */
.header-logo-img {
  height: 96px;
  width: auto;
  display: block;
  transition: opacity .2s;
}
.header-logo-img:hover { opacity: .85; }
@media (max-width: 640px) {
  .header-logo-img { height: 60px; }
}

/* ============================================
   FOOTER LOGO IMAGE
   ============================================ */
.footer-logo-img {
  height: 100px;
  width: auto;
  display: block;
  margin-bottom: 12px;
  filter: invert(1) brightness(0.9);
}
@media (max-width: 640px) {
  .footer-logo-img { height: 64px; }
}

/* ============================================
   BREADCRUMBS
   ============================================ */
.wiki-breadcrumbs {
  padding: 16px 32px 0;
  max-width: 1100px;
  margin: 0 auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: .72rem;
}
.wiki-breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.wiki-breadcrumbs li { display: inline-flex; align-items: center; }
.wiki-breadcrumbs a {
  color: var(--steel);
  text-decoration: none;
  transition: color .2s;
}
.wiki-breadcrumbs a:hover { color: var(--brass); }
.wiki-breadcrumbs .sep { color: rgba(139,151,166,.4); margin: 0 2px; }
.wiki-breadcrumbs li:last-child span { color: var(--brass); font-weight: 500; }

@media (max-width: 768px) {
  .wiki-breadcrumbs { padding: 12px 20px 0; }
}

/* ============================================
   HAMBURGER MENU (Mobile)
   ============================================ */
.taller-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1001;
}
.taller-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--paper);
  margin: 5px 0;
  border-radius: 2px;
  transition: all .3s;
}
.taller-nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.taller-nav-toggle.active span:nth-child(2) { opacity: 0; }
.taller-nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

@media (max-width: 768px) {
  .taller-nav-toggle { display: block; }
  .taller-navlinks, .taller-navcta { display: none; }
  .taller-navlinks.open, .taller-navcta.open { display: flex; }
  .taller-navlinks.open {
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ink);
    padding: 16px 20px;
    border-top: 1px solid rgba(217,208,184,.08);
    z-index: 1000;
    box-shadow: 0 12px 32px rgba(0,0,0,.3);
  }
  .taller-navlinks.open li { margin: 4px 0; }
  .taller-navlinks.open a {
    display: block;
    padding: 10px 0;
    font-size: .95rem;
    border-bottom: 1px solid rgba(217,208,184,.06);
    color: var(--paper);
  }
  .taller-navcta.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 180px);
    left: 0;
    right: 0;
    padding: 0 20px 20px;
    background: var(--ink);
    border-bottom: 1px solid rgba(217,208,184,.08);
    z-index: 1000;
    box-shadow: 0 12px 32px rgba(0,0,0,.3);
    gap: 10px;
  }
  .taller-navcta.open .btn { width: 100%; text-align: center; justify-content: center; }
}
