:root{
  --tst-pink:#e6007e;
  --tst-pink-2:#f01891;
  --tst-black:#050505;
  --tst-panel:#101012;
  --tst-white:#fff;
  --tst-gray:#c5c5ca;
  --tst-line:rgba(255,255,255,.14);
  --tst-title:"Oswald","Arial Narrow","Roboto Condensed",Arial,sans-serif;
  --tst-body:"Abel","Roboto Condensed",Arial,sans-serif;
  --tst-content-max:1260px;
}

.tst-shell,.tst-compact,.tst-taller{box-sizing:border-box;font-family:var(--tst-body);}
.tst-shell *,.tst-compact *,.tst-taller *{box-sizing:border-box;}
.tst-shell a,.tst-compact a,.tst-taller a{text-decoration:none!important;}

/* =========================================================
   PORTADA · DEL ORIGEN AL PRODUCTO TEXTIL
   ========================================================= */
.tst-shell{
  position:relative;
  overflow:hidden;
  margin:0 auto;
  padding:64px 28px 54px;
  color:#fff;
  background:
    radial-gradient(circle at 10% 12%,rgba(230,0,126,.17),transparent 28%),
    radial-gradient(circle at 94% 82%,rgba(230,0,126,.10),transparent 24%),
    linear-gradient(135deg,#040404 0%,#090408 55%,#16000c 100%);
  border-top:5px solid var(--tst-pink);
}
.tst-inner{position:relative;z-index:2;width:100%;max-width:var(--tst-content-max);margin:0 auto;}
.tst-kicker{
  margin:0 0 12px;
  color:var(--tst-pink);
  font:800 16px/1 var(--tst-title);
  letter-spacing:2.4px;
  text-align:center;
  text-transform:uppercase;
}
.tst-shell h2{
  margin:0!important;
  color:#fff!important;
  font:900 clamp(42px,5.1vw,82px)/.98 var(--tst-title)!important;
  letter-spacing:.5px;
  text-align:center;
  text-transform:uppercase;
}
/* Antonio pidió específicamente que “DEL ORIGEN AL” quede blanco. */
.tst-shell h2 .tst-title-prefix{color:#fff!important;}
.tst-shell h2 .tst-title-accent{color:var(--tst-pink)!important;}
.tst-lead{
  max-width:900px;
  margin:20px auto 38px!important;
  color:#d5d5d8!important;
  font-size:20px;
  line-height:1.52;
  text-align:center;
}

.tst-process{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:10px;
  align-items:stretch;
}
.tst-stage{
  position:relative;
  display:flex;
  flex-direction:column;
  min-width:0;
  overflow:visible;
  color:#fff!important;
  background:rgba(15,15,18,.96);
  border:1px solid rgba(255,255,255,.16);
  transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease;
}
.tst-stage[href]:hover,
.tst-stage[href]:focus-visible{
  transform:translateY(-5px);
  border-color:var(--tst-pink);
  box-shadow:0 14px 35px rgba(0,0,0,.36);
  outline:none;
}
.tst-stage:not(:last-child)::after{
  content:"›";
  position:absolute;
  z-index:5;
  right:-21px;
  top:31%;
  display:grid;
  place-items:center;
  width:30px;
  height:30px;
  border:2px solid var(--tst-pink);
  border-radius:50%;
  color:var(--tst-pink);
  background:#050505;
  font:700 29px/1 Arial,sans-serif;
}
.tst-stage__media{
  position:relative;
  overflow:hidden;
  aspect-ratio:1.22/1;
  background:#111;
}
.tst-stage__media img{
  display:block;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  transition:transform .35s ease;
}
.tst-stage[href]:hover img,.tst-stage[href]:focus-visible img{transform:scale(1.035);}
.tst-stage__number{
  position:absolute;
  left:14px;
  bottom:12px;
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  border-radius:50%;
  color:#fff;
  background:var(--tst-pink);
  box-shadow:0 4px 16px rgba(0,0,0,.28);
  font:900 20px/1 var(--tst-title);
}
.tst-stage__body{display:flex;flex:1;flex-direction:column;padding:17px 16px 18px;}
.tst-stage__micro{
  margin-bottom:8px;
  color:var(--tst-pink);
  font:800 12px/1 var(--tst-title);
  letter-spacing:1.8px;
  text-transform:uppercase;
}
.tst-stage h3{
  margin:0 0 10px!important;
  color:#fff!important;
  font:800 clamp(18px,1.35vw,23px)/1.08 var(--tst-title)!important;
  letter-spacing:.2px;
  text-transform:uppercase;
}
.tst-stage p{
  margin:0!important;
  color:#c7c7cc!important;
  font-size:15px;
  line-height:1.45;
}
.tst-stage__cta{
  margin-top:auto;
  padding-top:15px;
  color:#fff;
  font:800 12px/1 var(--tst-title);
  letter-spacing:1.2px;
}
.tst-stage__cta span{color:var(--tst-pink);font-size:17px;}
.tst-technical-note{
  max-width:1120px;
  margin:28px auto 0!important;
  padding:13px 16px;
  border-left:3px solid var(--tst-pink);
  color:#bfc0c5!important;
  background:rgba(255,255,255,.045);
  font-size:14px;
  line-height:1.5;
}
.tst-technical-note strong{color:#fff;letter-spacing:.8px;}

/* =========================================================
   TALLER TEXTIL · BLOQUE PRÁCTICO
   ========================================================= */
.tst-taller{
  display:grid;
  grid-template-columns:minmax(0,1.06fr) minmax(420px,.94fr);
  grid-template-rows:auto 1fr;
  grid-template-areas:
    "visuals intro"
    "visuals actions";
  width:calc(100% - 48px);
  max-width:var(--tst-content-max);
  min-height:540px;
  margin:44px auto 56px;
  overflow:hidden;
  color:#fff;
  background:#070707;
  border-top:7px solid var(--tst-pink);
}
.tst-taller__intro{
  grid-area:intro;
  align-self:end;
  padding:44px 36px 16px;
  background:linear-gradient(135deg,#080808,#15000c);
}
.tst-taller__intro .tst-kicker{text-align:left;margin-bottom:11px;}
.tst-taller h2{
  margin:0 0 18px!important;
  color:#fff!important;
  font:900 clamp(46px,4.1vw,68px)/.95 var(--tst-title)!important;
  letter-spacing:.4px;
  text-transform:uppercase;
}
.tst-taller h2 span{color:var(--tst-pink)!important;}
.tst-taller__intro>p{
  max-width:650px;
  margin:0!important;
  color:#d2d2d6!important;
  font-size:18px;
  line-height:1.48;
}
.tst-taller__actions{
  grid-area:actions;
  align-self:start;
  min-width:0;
  padding:8px 36px 42px;
  background:linear-gradient(135deg,#080808,#15000c);
}
.tst-taller__topics{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 27px;}
.tst-taller__topics a{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:8px 11px;
  border:1px solid rgba(230,0,126,.70);
  color:#f1f1f2!important;
  background:rgba(255,255,255,.018);
  font:800 11px/1.15 var(--tst-title);
  letter-spacing:.65px;
  text-transform:uppercase;
  transition:background .18s ease,color .18s ease,border-color .18s ease,transform .18s ease;
}
.tst-taller__topics a:hover,
.tst-taller__topics a:focus-visible{
  color:#fff!important;
  background:var(--tst-pink);
  border-color:var(--tst-pink);
  transform:translateY(-1px);
  outline:none;
}
.tst-button{
  display:inline-flex;
  align-items:center;
  gap:14px;
  padding:16px 20px;
  color:#fff!important;
  background:var(--tst-pink);
  font:800 15px/1 var(--tst-title);
  letter-spacing:1px;
  transition:.2s ease;
}
.tst-button:hover,.tst-button:focus-visible{
  color:#050505!important;
  background:#fff;
  transform:translateY(-2px);
  outline:none;
}

.tst-taller__visuals{
  grid-area:visuals;
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  grid-template-rows:1fr 1fr;
  min-width:0;
  min-height:540px;
  background:#111;
}
.tst-taller__visual{
  position:relative;
  display:block;
  min-width:0;
  overflow:hidden;
  color:#fff!important;
  background:#151515;
  border-right:1px solid rgba(255,255,255,.12);
  border-bottom:1px solid rgba(255,255,255,.12);
  isolation:isolate;
}
.tst-taller__visual:nth-child(1),.tst-taller__visual:nth-child(2){grid-column:span 3;}
.tst-taller__visual:nth-child(n+3){grid-column:span 2;}
.tst-taller__visual::after{
  content:"";
  position:absolute;
  z-index:1;
  inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,.02) 32%,rgba(0,0,0,.82) 100%);
  pointer-events:none;
  transition:background .2s ease;
}
.tst-taller__visual img{
  display:block;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  transform:scale(1.002);
  transition:transform .35s ease,filter .25s ease;
}
.tst-taller__visual:hover img,.tst-taller__visual:focus-visible img{transform:scale(1.045);}
.tst-taller__visual:hover::after,.tst-taller__visual:focus-visible::after{background:linear-gradient(180deg,rgba(230,0,126,.04) 25%,rgba(0,0,0,.88) 100%);}
.tst-taller__visual:focus-visible{outline:3px solid var(--tst-pink);outline-offset:-3px;}
.tst-taller__visual-label{
  position:absolute;
  z-index:2;
  left:16px;
  right:12px;
  bottom:14px;
  color:#fff;
  font:800 13px/1.15 var(--tst-title);
  letter-spacing:.65px;
  text-transform:uppercase;
  text-shadow:0 2px 10px rgba(0,0,0,.65);
}
.tst-taller__visual-label b{
  display:inline-block;
  margin-right:6px;
  color:var(--tst-pink);
  font-size:17px;
}

/* Las anclas del Taller se crean en JS sobre los títulos existentes. */
.tst-anchor-target{scroll-margin-top:110px;}
.tst-generated-anchor{display:block;width:1px;height:1px;overflow:hidden;visibility:hidden;pointer-events:none;}

/* =========================================================
   RECORRIDO COMPACTO · PÁGINAS INTERIORES
   ========================================================= */
.tst-compact{
  max-width:var(--tst-content-max);
  margin:28px auto 44px;
  padding:18px 20px 20px;
  color:#fff;
  background:#080808;
  border-top:4px solid var(--tst-pink);
  box-shadow:0 12px 34px rgba(0,0,0,.12);
}
.tst-compact__head{display:flex;align-items:baseline;gap:12px;margin-bottom:14px;}
.tst-compact__head span{color:var(--tst-pink);font:800 12px/1 var(--tst-title);letter-spacing:1.8px;}
.tst-compact__head strong{color:#fff;font:800 18px/1 var(--tst-title);letter-spacing:.5px;}
.tst-compact__track{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;}
.tst-compact .tst-stage{min-height:0;border-color:rgba(255,255,255,.12);}
.tst-compact .tst-stage::after{display:none;}
.tst-compact .tst-stage__media{aspect-ratio:2/1;}
.tst-compact .tst-stage__number{left:8px;bottom:7px;width:30px;height:30px;font-size:14px;}
.tst-compact .tst-stage__body{padding:10px 10px 11px;}
.tst-compact .tst-stage__micro{margin-bottom:5px;font-size:9px;letter-spacing:1.2px;}
.tst-compact .tst-stage h3{margin:0!important;font-size:14px!important;}
.tst-compact .tst-stage.is-active{
  border:2px solid var(--tst-pink);
  box-shadow:0 0 0 1px rgba(230,0,126,.22),0 10px 30px rgba(230,0,126,.12);
}
.tst-compact .tst-stage.is-active .tst-stage__body{background:rgba(230,0,126,.12);}

@media (max-width:1250px){
  .tst-process{grid-template-columns:repeat(3,1fr);gap:14px;}
  .tst-stage::after{display:none!important;}
  .tst-compact__track{grid-template-columns:repeat(3,1fr);}
  .tst-taller{grid-template-columns:minmax(0,1.04fr) minmax(390px,.96fr);}
}

@media (max-width:900px){
  .tst-taller{
    grid-template-columns:1fr;
    grid-template-rows:auto auto auto;
    grid-template-areas:"intro" "visuals" "actions";
    width:calc(100% - 40px);
    margin:34px auto 44px;
    min-height:0;
  }
  .tst-taller__intro{padding:38px 24px 20px;}
  .tst-taller__actions{padding:22px 24px 42px;}
  .tst-taller__visuals{min-height:520px;}
}

@media (max-width:760px){
  .tst-shell{padding:30px 12px 30px;}
  .tst-inner{max-width:none;}
  .tst-kicker{text-align:left;font-size:12px;letter-spacing:2px;}
  .tst-shell h2{text-align:left;font-size:32px!important;line-height:1!important;}
  .tst-lead{text-align:left;margin:14px 0 22px!important;font-size:15px;line-height:1.42;}
  .tst-process{display:flex;flex-direction:column;gap:22px;}
  .tst-stage{display:grid;grid-template-columns:39% 61%;min-height:132px;}
  .tst-process .tst-stage:not(:last-child)::after{
    content:"↓";
    display:grid!important;
    place-items:center;
    right:auto;
    left:50%;
    top:auto;
    bottom:-18px;
    width:26px;
    height:26px;
    transform:translateX(-50%);
    border:2px solid var(--tst-pink);
    border-radius:50%;
    color:var(--tst-pink);
    background:#050505;
    font:800 15px/1 Arial,sans-serif;
  }
  .tst-stage__media{height:100%;min-height:132px;aspect-ratio:auto;}
  .tst-stage__body{justify-content:center;padding:12px 11px;}
  .tst-stage__micro{margin-bottom:6px;font-size:9px;letter-spacing:1.3px;}
  .tst-stage h3{margin-bottom:7px!important;font-size:17px!important;}
  .tst-stage p{
    display:-webkit-box;
    overflow:hidden;
    font-size:12.3px!important;
    line-height:1.34;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:4;
  }
  .tst-stage__cta{padding-top:7px;font-size:10.5px;}
  .tst-stage__number{left:8px;bottom:8px;width:30px;height:30px;font-size:14px;}
  .tst-technical-note{margin-top:17px!important;padding:10px 12px;font-size:11.5px;}

  .tst-taller{width:calc(100% - 28px);margin:24px auto 32px;}
  .tst-taller__intro{padding:26px 16px 15px;}
  .tst-taller__intro .tst-kicker{margin-bottom:8px;}
  .tst-taller h2{margin-bottom:13px!important;font-size:39px!important;line-height:.98!important;}
  .tst-taller__intro>p{font-size:15px;line-height:1.42;}
  .tst-taller__visuals{
    display:flex;
    gap:8px;
    min-height:0;
    padding:0 14px 8px;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
    background:#080808;
  }
  .tst-taller__visual,
  .tst-taller__visual:nth-child(1),
  .tst-taller__visual:nth-child(2),
  .tst-taller__visual:nth-child(n+3){
    flex:0 0 66%;
    height:170px;
    scroll-snap-align:start;
    border:1px solid rgba(255,255,255,.14);
  }
  .tst-taller__visual-label{left:11px;right:8px;bottom:10px;font-size:10.5px;line-height:1.08;}
  .tst-taller__visual-label b{font-size:14px;}
  .tst-taller__actions{padding:12px 16px 28px;}
  .tst-taller__topics{gap:6px;margin-bottom:18px;}
  .tst-taller__topics a{min-height:30px;padding:7px 9px;font-size:9.3px;}
  .tst-button{width:100%;justify-content:center;padding:14px 13px;font-size:13px;}

  .tst-compact{margin:18px 14px 28px;padding:14px 13px 15px;}
  .tst-compact__head{display:block;}
  .tst-compact__head span{display:block;margin-bottom:5px;}
  .tst-compact__head strong{font-size:17px;}
  .tst-compact__track{display:flex;gap:8px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:7px;-webkit-overflow-scrolling:touch;}
  .tst-compact .tst-stage{display:flex;flex:0 0 140px;scroll-snap-align:start;min-height:148px;}
  .tst-compact .tst-stage__media{height:82px;min-height:82px;aspect-ratio:auto;}
  .tst-compact .tst-stage__body{padding:8px;}
  .tst-compact .tst-stage h3{font-size:12.5px!important;}
}

@media (max-width:420px){
  .tst-shell{padding-left:10px;padding-right:10px;}
  .tst-shell h2{font-size:30px!important;}
  .tst-stage{grid-template-columns:37% 63%;}
  .tst-stage h3{font-size:16px!important;}
  .tst-stage p{-webkit-line-clamp:3;}
  .tst-taller{width:calc(100% - 20px);}
  .tst-taller h2{font-size:36px!important;}
  .tst-taller__visual,.tst-taller__visual:nth-child(n){flex-basis:64%;height:160px;}
}

@media (prefers-reduced-motion:reduce){
  .tst-stage,.tst-stage img,.tst-button,.tst-taller__visual img,.tst-taller__topics a{transition:none!important;}
  html{scroll-behavior:auto!important;}
}

/* =========================================================
   TALLER TEXTIL · PORTADA REORGANIZADA
   ========================================================= */
.tst-taller-organized [data-tst-taller-hidden]{display:none!important;}
.tst-family-link-redirect{cursor:pointer;}

.tst-taller-featured{
  width:calc(100% - 48px);
  max-width:var(--tst-content-max);
  margin:46px auto 54px;
  padding:44px 44px 46px;
  color:#fff;
  background:#111113;
  border-top:5px solid var(--tst-pink);
  font-family:var(--tst-body);
  box-sizing:border-box;
}
.tst-taller-featured *{box-sizing:border-box;}
.tst-taller-featured__head{max-width:760px;margin:0 0 28px;}
.tst-taller-featured__head>span{
  display:block;
  margin-bottom:10px;
  color:var(--tst-pink);
  font:800 14px/1 var(--tst-title);
  letter-spacing:1.8px;
}
.tst-taller-featured__head h2{
  margin:0 0 12px!important;
  color:#fff!important;
  font:900 clamp(34px,4vw,56px)/1 var(--tst-title)!important;
  text-transform:uppercase;
}
.tst-taller-featured__head p{
  margin:0!important;
  color:#c9c9ce!important;
  font-size:17px;
  line-height:1.48;
}
.tst-taller-featured__grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
.tst-guide-card{
  display:flex;
  min-width:0;
  flex-direction:column;
  overflow:hidden;
  color:#fff!important;
  background:#080809;
  border:1px solid rgba(255,255,255,.13);
  text-decoration:none!important;
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.tst-guide-card:hover,.tst-guide-card:focus-visible{
  transform:translateY(-4px);
  border-color:var(--tst-pink);
  box-shadow:0 14px 34px rgba(0,0,0,.28);
  outline:none;
}
.tst-guide-card__media{display:block;aspect-ratio:16/10;overflow:hidden;background:#1b1b1d;}
.tst-guide-card__media img{display:block;width:100%!important;height:100%!important;object-fit:cover!important;transition:transform .3s ease;}
.tst-guide-card:hover img,.tst-guide-card:focus-visible img{transform:scale(1.035);}
.tst-guide-card__body{display:flex;flex:1;flex-direction:column;padding:17px 17px 18px;}
.tst-guide-card__body small{margin-bottom:8px;color:var(--tst-pink);font:800 10px/1.2 var(--tst-title);letter-spacing:1px;}
.tst-guide-card__body strong{color:#fff;font:800 18px/1.16 var(--tst-title);text-transform:uppercase;}
.tst-guide-card__body>span{margin-top:auto;padding-top:17px;color:#fff;font:800 11px/1 var(--tst-title);letter-spacing:.9px;}
.tst-guide-card__body>span b{color:var(--tst-pink);font-size:16px;}
.tst-taller-featured__all{margin-top:26px;padding-top:22px;border-top:1px solid rgba(255,255,255,.14);}
.tst-taller-featured__all>span{display:block;margin-bottom:13px;color:#aaaab0;font-size:14px;}
.tst-taller-featured__families{display:flex;flex-wrap:wrap;gap:7px;}
.tst-taller-featured__families a{
  padding:8px 10px;
  border:1px solid rgba(230,0,126,.65);
  color:#fff!important;
  font:800 10px/1.15 var(--tst-title);
  letter-spacing:.6px;
  text-decoration:none!important;
}
.tst-taller-featured__families a:hover,.tst-taller-featured__families a:focus-visible{background:var(--tst-pink);outline:none;}

/* =========================================================
   TALLER TEXTIL · PÁGINAS DE CLASIFICACIÓN
   ========================================================= */
.tst-family-page{
  margin:0;
  background:#f3f3f4;
  font-family:var(--tst-body);
  color:#111;
}
.tst-family-page *{box-sizing:border-box;}
.tst-family-wrap{width:calc(100% - 48px);max-width:var(--tst-content-max);margin:0 auto;}
.tst-family-hero{padding:50px 0;background:linear-gradient(135deg,#050505 0%,#0b0508 58%,#19000e 100%);border-top:5px solid var(--tst-pink);}
.tst-family-hero__grid{display:grid;grid-template-columns:minmax(0,1.06fr) minmax(330px,.94fr);gap:34px;align-items:stretch;}
.tst-family-hero__copy{display:flex;flex-direction:column;justify-content:center;min-width:0;padding:22px 0;}
.tst-family-back{align-self:flex-start;margin-bottom:32px;color:#d7d7dc!important;font:800 11px/1 var(--tst-title);letter-spacing:1px;text-decoration:none!important;}
.tst-family-back:hover,.tst-family-back:focus-visible{color:var(--tst-pink)!important;outline:none;}
.tst-family-number{display:block;margin-bottom:12px;color:var(--tst-pink);font:800 13px/1 var(--tst-title);letter-spacing:1.6px;}
.tst-family-hero h1{margin:0 0 18px!important;color:#fff!important;font:900 clamp(46px,6vw,80px)/.94 var(--tst-title)!important;text-transform:uppercase;letter-spacing:.2px;}
.tst-family-hero__copy>p{max-width:680px;margin:0!important;color:#d0d0d4!important;font-size:19px;line-height:1.5;}
.tst-family-count{display:flex;align-items:baseline;gap:9px;margin-top:26px;color:#fff;font:700 15px/1 var(--tst-body);}
.tst-family-count strong{color:var(--tst-pink);font:900 34px/1 var(--tst-title);}
.tst-family-hero__media{min-height:390px;margin:0;overflow:hidden;border:1px solid rgba(255,255,255,.15);}
.tst-family-hero__media img{display:block;width:100%!important;height:100%!important;object-fit:cover!important;}

.tst-family-section{padding:58px 0;}
.tst-family-section--light{background:#f3f3f4;}
.tst-family-section--dark{background:#111113;}
.tst-family-section__head{max-width:820px;margin:0 0 30px;}
.tst-family-section__head>span{display:block;margin-bottom:9px;color:var(--tst-pink);font:800 13px/1 var(--tst-title);letter-spacing:1.6px;}
.tst-family-section__head h2{margin:0 0 12px!important;color:#101012!important;font:900 clamp(34px,4vw,54px)/1 var(--tst-title)!important;text-transform:uppercase;}
.tst-family-section__head p{margin:0!important;color:#56565b!important;font-size:17px;line-height:1.52;}
.tst-family-section__head--dark h2{color:#fff!important;}
.tst-family-section__head--dark p{color:#c4c4c8!important;}
.tst-family-start-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;}
.tst-family-start-card{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:92px;padding:18px 18px;border:1px solid #dadadd;color:#111!important;background:#fff;text-decoration:none!important;font:800 15px/1.25 var(--tst-title);text-transform:uppercase;transition:.18s ease;}
.tst-family-start-card b{color:var(--tst-pink);font-size:22px;}
.tst-family-start-card:hover,.tst-family-start-card:focus-visible{color:#fff!important;background:#111113;border-color:#111113;transform:translateY(-2px);outline:none;}

.tst-family-guides{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;}
.tst-family-guide{display:flex;min-width:0;flex-direction:column;overflow:hidden;background:#080809;border:1px solid rgba(255,255,255,.13);}
.tst-family-guide__media{display:block;aspect-ratio:16/10;overflow:hidden;background:#1a1a1c;}
.tst-family-guide__media img{display:block;width:100%!important;height:100%!important;object-fit:cover!important;transition:transform .28s ease;}
.tst-family-guide:hover .tst-family-guide__media img{transform:scale(1.035);}
.tst-family-guide__body{display:flex;flex:1;flex-direction:column;padding:18px;}
.tst-family-guide__body small{margin-bottom:8px;color:var(--tst-pink);font:800 10px/1.1 var(--tst-title);letter-spacing:1px;}
.tst-family-guide h3{margin:0 0 10px!important;font:800 20px/1.14 var(--tst-title)!important;text-transform:uppercase;}
.tst-family-guide h3 a{color:#fff!important;text-decoration:none!important;}
.tst-family-guide p{margin:0!important;color:#bdbdc2!important;font-size:14px;line-height:1.45;}
.tst-family-guide__cta{align-self:flex-start;margin-top:auto;padding-top:17px;color:#fff!important;font:800 11px/1 var(--tst-title);letter-spacing:.8px;text-decoration:none!important;}
.tst-family-guide__cta span{color:var(--tst-pink);font-size:16px;}
.tst-family-empty{padding:24px;border-left:3px solid var(--tst-pink);color:#ddd;background:#080809;}

.tst-family-nav{padding:44px 0 54px;background:#fff;border-top:1px solid #dedee0;}
.tst-family-nav__label{display:block;margin-bottom:15px;color:var(--tst-pink);font:800 12px/1 var(--tst-title);letter-spacing:1.5px;}
.tst-family-nav__grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;}
.tst-family-nav__grid a{display:flex;min-height:94px;flex-direction:column;justify-content:flex-end;padding:14px;border:1px solid #dedee0;color:#111!important;background:#fafafa;text-decoration:none!important;transition:.18s ease;}
.tst-family-nav__grid a b{margin-bottom:auto;color:var(--tst-pink);font:900 19px/1 var(--tst-title);}
.tst-family-nav__grid a span{font:800 14px/1.15 var(--tst-title);text-transform:uppercase;}
.tst-family-nav__grid a:hover,.tst-family-nav__grid a:focus-visible,.tst-family-nav__grid a.is-current{color:#fff!important;background:#111113;border-color:#111113;outline:none;}
.tst-family-return{display:inline-block;margin-top:22px;color:#111!important;font:800 12px/1 var(--tst-title);letter-spacing:1px;text-decoration:none!important;}
.tst-family-return:hover,.tst-family-return:focus-visible{color:var(--tst-pink)!important;outline:none;}

@media (max-width:900px){
  .tst-taller-featured{width:calc(100% - 40px);padding:36px 28px 38px;}
  .tst-taller-featured__grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .tst-family-hero__grid{grid-template-columns:1fr;gap:22px;}
  .tst-family-hero__media{min-height:320px;}
  .tst-family-start-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .tst-family-guides{grid-template-columns:repeat(2,minmax(0,1fr));}
  .tst-family-nav__grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}

@media (max-width:620px){
  .tst-taller-featured{width:calc(100% - 24px);margin:32px auto 38px;padding:30px 18px 32px;}
  .tst-taller-featured__grid{grid-template-columns:1fr;}
  .tst-guide-card{display:grid;grid-template-columns:38% 62%;}
  .tst-guide-card__media{height:100%;min-height:150px;aspect-ratio:auto;}
  .tst-family-wrap{width:calc(100% - 24px);}
  .tst-family-hero{padding:34px 0;}
  .tst-family-back{margin-bottom:24px;}
  .tst-family-hero h1{font-size:45px!important;}
  .tst-family-hero__copy>p{font-size:17px;}
  .tst-family-hero__media{min-height:250px;}
  .tst-family-section{padding:40px 0;}
  .tst-family-start-grid{grid-template-columns:1fr;}
  .tst-family-start-card{min-height:76px;}
  .tst-family-guides{grid-template-columns:1fr;}
  .tst-family-guide{display:grid;grid-template-columns:39% 61%;}
  .tst-family-guide__media{height:100%;min-height:180px;aspect-ratio:auto;}
  .tst-family-guide__body{padding:15px;}
  .tst-family-guide h3{font-size:17px!important;}
  .tst-family-guide p{display:none;}
  .tst-family-nav__grid{grid-template-columns:1fr;}
  .tst-family-nav__grid a{min-height:72px;}
}


/* =========================================================
   v1.1.2 · AJUSTE MÓVIL
   Escritorio conserva exactamente la escala aprobada en v1.1.1.
   ========================================================= */
@media (max-width:760px){

  /* RECORRIDO: más compacto y fotografías completas */
  .tst-shell{
    padding:24px 10px 26px;
  }
  .tst-shell .tst-kicker{
    margin-bottom:9px;
    font-size:11px;
    letter-spacing:1.8px;
  }
  .tst-shell h2{
    font-size:28px!important;
    line-height:1.02!important;
  }
  .tst-lead{
    margin:12px 0 18px!important;
    font-size:14px;
    line-height:1.4;
  }
  .tst-process{
    gap:18px;
  }
  .tst-stage{
    grid-template-columns:34% 66%;
    min-height:106px;
  }
  .tst-stage__media{
    height:106px;
    min-height:106px;
    align-self:center;
    background:#090909;
  }
  .tst-stage__media img{
    object-fit:contain!important;
    object-position:center!important;
    transform:none!important;
    background:#090909;
  }
  .tst-stage__body{
    justify-content:center;
    padding:9px 10px;
  }
  .tst-stage__micro{
    margin-bottom:5px;
    font-size:8.5px;
    letter-spacing:1.15px;
  }
  .tst-stage h3{
    margin-bottom:5px!important;
    font-size:15px!important;
    line-height:1.05!important;
  }
  .tst-stage p{
    display:-webkit-box;
    overflow:hidden;
    font-size:11.2px!important;
    line-height:1.3;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
  }
  .tst-stage__cta{
    padding-top:5px;
    font-size:9.5px;
  }
  .tst-stage__cta span{font-size:14px;}
  .tst-stage__number{
    left:7px;
    bottom:7px;
    width:28px;
    height:28px;
    font-size:13px;
  }
  .tst-process .tst-stage:not(:last-child)::after{
    bottom:-16px;
    width:23px;
    height:23px;
    font-size:13px;
  }
  .tst-technical-note{
    margin-top:15px!important;
    padding:9px 10px;
    font-size:10.8px;
    line-height:1.4;
  }

  /* TALLER TEXTIL:
     en móvil deja de ser carrusel horizontal.
     5 imágenes en una retícula 2 + 2 + 1, sin recortes. */
  .tst-taller{
    width:calc(100% - 20px);
    margin:22px auto 30px;
  }
  .tst-taller__intro{
    padding:22px 14px 14px;
  }
  .tst-taller__intro .tst-kicker{
    margin-bottom:7px;
    font-size:11px;
  }
  .tst-taller h2{
    margin-bottom:11px!important;
    font-size:34px!important;
    line-height:1!important;
  }
  .tst-taller__intro>p{
    font-size:14px;
    line-height:1.4;
  }

  .tst-taller__visuals{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr));
    grid-auto-rows:auto;
    gap:7px;
    min-height:0;
    padding:0 12px 12px;
    overflow:visible;
    background:#080808;
    scroll-snap-type:none;
  }
  .tst-taller__visual,
  .tst-taller__visual:nth-child(1),
  .tst-taller__visual:nth-child(2),
  .tst-taller__visual:nth-child(n+3){
    display:block;
    width:100%;
    height:auto;
    min-height:0;
    aspect-ratio:16/10;
    grid-column:auto;
    flex:none;
    scroll-snap-align:none;
    border:1px solid rgba(255,255,255,.14);
  }
  .tst-taller__visual:nth-child(5){
    grid-column:1 / -1;
    width:calc(50% - 3.5px);
    justify-self:center;
  }
  .tst-taller__visual img{
    object-fit:contain!important;
    object-position:center!important;
    transform:none!important;
    background:#111;
  }
  .tst-taller__visual-label{
    left:9px;
    right:7px;
    bottom:8px;
    font-size:9.5px;
    line-height:1.05;
  }
  .tst-taller__visual-label b{
    margin-right:4px;
    font-size:13px;
  }

  /* Las fotos ya son las cinco categorías: en móvil evitamos duplicarlas
     otra vez como una segunda batería de pastillas. */
  .tst-taller__actions{
    padding:5px 14px 22px;
  }
  .tst-taller__topics{
    display:none!important;
  }
  .tst-button{
    width:100%;
    justify-content:center;
    padding:13px 12px;
    font-size:12px;
  }
}

@media (max-width:420px){
  .tst-shell{
    padding-left:8px;
    padding-right:8px;
  }
  .tst-shell h2{
    font-size:26px!important;
  }
  .tst-stage{
    grid-template-columns:35% 65%;
    min-height:102px;
  }
  .tst-stage__media{
    height:102px;
    min-height:102px;
  }
  .tst-stage h3{
    font-size:14px!important;
  }
  .tst-stage p{
    font-size:10.8px!important;
  }

  .tst-taller{
    width:calc(100% - 16px);
  }
  .tst-taller h2{
    font-size:31px!important;
  }
  .tst-taller__visuals{
    gap:6px;
    padding-left:10px;
    padding-right:10px;
  }
  .tst-taller__visual-label{
    font-size:9px;
  }
}


/* =========================================================
   v1.1.3 · AJUSTE FINAL MÓVIL
   - Alinea el contenido con el eje visual logo ↔ hamburguesa.
   - Taller Textil en una sola columna.
   - Escritorio permanece idéntico a v1.1.2.
   ========================================================= */
@media (max-width:760px){

  :root{
    --tst-mobile-gutter:clamp(34px,10vw,48px);
  }

  /* Mantener el fondo a sangre, pero el contenido dentro
     de los mismos límites visuales de la cabecera. */
  .tst-shell{
    padding-left:0!important;
    padding-right:0!important;
  }

  .tst-shell .tst-inner{
    width:calc(100% - var(--tst-mobile-gutter) - var(--tst-mobile-gutter))!important;
    max-width:none!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }

  /* El Taller usa exactamente el mismo ancho que el recorrido. */
  .tst-taller{
    width:calc(100% - var(--tst-mobile-gutter) - var(--tst-mobile-gutter))!important;
    max-width:none!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }

  /* Retícula del Taller: una sola columna, sin carrusel ni recortes. */
  .tst-taller__visuals{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
    padding:0 12px 12px!important;
    overflow:visible!important;
    scroll-snap-type:none!important;
  }

  .tst-taller__visual,
  .tst-taller__visual:nth-child(1),
  .tst-taller__visual:nth-child(2),
  .tst-taller__visual:nth-child(n+3),
  .tst-taller__visual:nth-child(5){
    display:block!important;
    grid-column:auto!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    aspect-ratio:8/5!important;
    justify-self:stretch!important;
    flex:none!important;
  }

  .tst-taller__visual img{
    width:100%!important;
    height:100%!important;
    object-fit:contain!important;
    object-position:center!important;
    transform:none!important;
    background:#111!important;
  }

  /* En una columna se puede recuperar un poco de legibilidad en etiquetas
     sin volver a agrandar el bloque. */
  .tst-taller__visual-label{
    left:12px!important;
    right:10px!important;
    bottom:10px!important;
    font-size:10.5px!important;
    line-height:1.08!important;
  }
  .tst-taller__visual-label b{
    font-size:14px!important;
  }

  /* Contenido textual del Taller dentro del mismo eje. */
  .tst-taller__intro{
    padding-left:12px!important;
    padding-right:12px!important;
  }
  .tst-taller__actions{
    padding-left:12px!important;
    padding-right:12px!important;
  }
}

@media (max-width:420px){
  :root{
    --tst-mobile-gutter:clamp(28px,9vw,38px);
  }

  .tst-taller__visuals{
    padding-left:10px!important;
    padding-right:10px!important;
  }
}
